borland Packages  Class Hierarchy  jb.util Package 

ExceptionChain component

java.lang.Object
   +----com.borland.jb.util.ExceptionChain

About the ExceptionChain component

Constructors  Properties  Methods  

Implements Serializable

The ExceptionChain component represents the node of a ChainedException object (the linked list of exceptions) that can be traversed.

See also: com.borland.dx.dataset.DataSetException


ExceptionChain constructors

ExceptionChain properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

ExceptionChain methods

Methods implemented in this class

Methods implemented in java.lang.Object


ExceptionChain constructors

ExceptionChain()

  public ExceptionChain()
Constructs a new ExceptionChain.

ExceptionChain properties

exception

 public Throwable getException()
Places an exception at this node.

next

 public ExceptionChain getNext()
Moves to the next ExceptionChain instance. Returns null for the last instance.

ExceptionChain methods

append(java.lang.Throwable)

  public void append(Throwable ex)
Appends the given exception to the end of the ChainedException object (the linked list of exceptions).

getOriginalMessage(java.lang.Throwable)

  public static String getOriginalMessage(Throwable ex)
Gets the original exception in the ChainedException object (the linked list of exceptions).

hasExceptions()

  public boolean hasExceptions()
Returns true if there is an exception instance in the chain.

printDiagnosticStackTrace()

  public void printDiagnosticStackTrace()
Prints all diagnostic stack traces in the chain.

printStackTrace(java.io.PrintStream)

  public void printStackTrace(java.io.PrintStream out)
Prints all exception stack traces in the chain.

Parameters:

out
The chain to print.