palmed.util
Class ChainedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by palmed.util.ChainedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BufferException, RecordException

public class ChainedException
extends java.lang.RuntimeException

This class implements a chainable exception.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon
See Also:
Serialized Form

Constructor Summary
ChainedException(java.lang.String message)
          Create a chained exception.
ChainedException(java.lang.String message, java.lang.Throwable throwable)
          Create a chained exception.
ChainedException(java.lang.Throwable throwable)
          Create a chained exception.
 
Method Summary
 void printStackTrace()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainedException

public ChainedException(java.lang.Throwable throwable)
Create a chained exception.

Parameters:
throwable - a throwable to chain

ChainedException

public ChainedException(java.lang.String message)
Create a chained exception.

Parameters:
message - a description of the error

ChainedException

public ChainedException(java.lang.String message,
                        java.lang.Throwable throwable)
Create a chained exception.

Parameters:
message - a description of the error
throwable - a throwable to chain
Method Detail

printStackTrace

public final void printStackTrace()

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2004-2006 PalmEd. All Rights Reserved.