All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class chainexception.ChainException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----chainexception.ChainException

public class ChainException
extends Exception
This class is used for error handling. Errors are traced from different layer of the minibase system.


Variable Index

 o prev

Constructor Index

 o ChainException()
Default constructor.
 o ChainException(Exception, String)
Establish the stack for exceptions.

Method Index

 o printStackTrace()
Print out all the exceptions caught across layers.

Variables

 o prev
 public Exception prev

Constructors

 o ChainException
 public ChainException(Exception _prev,
                       String s)
Establish the stack for exceptions.

Parameters:
_prev - the previous exception caught
s - the description for the current exception thrown
 o ChainException
 public ChainException()
Default constructor. It will probably never be used since every exception should be pushed onto the stack.

Methods

 o printStackTrace
 public void printStackTrace()
Print out all the exceptions caught across layers.

Overrides:
printStackTrace in class Throwable

All Packages  Class Hierarchy  This Package  Previous  Next  Index