borland Packages  Class Hierarchy  jbcl.util Package  Index 

ExceptionChain component

java.lang.Object
   +----borland.jbcl.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: borland.jbcl.control.ExceptionDialog, borland.jbcl.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 Exception 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.Exception)

  public void append(java.lang.Exception ex)
Adds an ExceptionChain instance.

Parameters:

ex
The name of the exception instance to add.

hasExceptions()

  public boolean hasExceptions()
Returns true if there is an exception instance 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.