borland Packages Class Hierarchy jb.util Package
java.lang.Object +----com.borland.jb.util.ExceptionChain
Constructors Properties Methods
Implements Serializable
The ExceptionChain
component represents the node of a ChainedException
object (the linked list of exceptions) that can be traversed.
com.borland.dbswing.DBExceptionDialog
, com.borland.dx.dataset.DataSetException
public ExceptionChain()Constructs a new
ExceptionChain
.
public Throwable getException()Places an exception at this node.
public ExceptionChain getNext()Moves to the next
ExceptionChain
instance. Returns null for the last instance.
public void append(Throwable ex)Appends the given exception to the end of the
ChainedException
object (the linked list of exceptions).
public static String getOriginalMessage(Throwable ex)Gets the original exception in the
ChainedException
object (the linked list of exceptions).
public boolean hasExceptions()Returns true if there is an exception instance in the chain.
public void printDiagnosticStackTrace()Prints all diagnostic stack traces in the chain.
public void printStackTrace(java.io.PrintStream out)Prints all exception stack traces in the chain.
out