exceptions
Class ChainException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byexceptions.ChainException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AddFileEntryException, AttrCatalogException, BufferPoolExceededException, BufMgrException, Catalogattrexists, Catalogattrnotfound, Catalogbadattrcount, Catalogbadtype, Catalogdupattrs, CatalogException, Cataloghferror, Catalogindexexists, Catalogindexnotfound, Catalogioerror, Catalogmissparam, Catalognomem, Catalogrelexists, Catalogrelnotfound, ConstructPageException, ConvertException, DeleteFashionException, DeleteFileEntryException, DeleteRecException, DiskMgrException, DuplElimException, DuplicateEntryException, FieldNumberOutOfBoundException, FileAlreadyDeletedException, FileEntryNotFoundException, FileIOException, FileNameTooLongException, FileScanException, FreePageException, GetFileEntryException, HashEntryNotFoundException, HashOperationException, HFBufMgrException, HFDiskMgrException, HFException, IndexCatalogException, IndexException, IndexFullDeleteException, IndexInsertRecException, IndexSearchException, InsertException, InsertRecException, InvalidBufferException, InvalidFrameNumberException, InvalidPageNumberException, InvalidRelation, InvalidReplacerException, InvalidRunSizeException, InvalidSelectionException, InvalidSlotNumberException, InvalidTupleSizeException, InvalidTypeException, InvalidUpdateException, IteratorBMException, IteratorException, JoinLowMemory, JoinNewFailed, JoinsException, KeyNotMatchException, KeyTooLongException, LeafDeleteException, LeafInsertRecException, LeafRedistributeException, LowMemException, NestedLoopException, NodeNotMatchException, OutOfSpaceException, PageNotFoundException, PageNotReadException, PagePinnedException, PageUnpinnedException, PinPageException, PredEvalException, RecordNotFoundException, RedistributeException, RelCatalogException, ReplacerException, ScanDeleteException, ScanIteratorException, SortException, SpaceNotAvailableException, TupleUtilsException, UnknowAttrType, UnknownIndexTypeException, UnknownKeyTypeException, UnpinPageException, WrongPermat

public class ChainException
extends java.lang.Exception

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

See Also:
Serialized Form

Field Summary
 java.lang.Exception prev
           
 
Constructor Summary
ChainException()
          Default constructor.
ChainException(java.lang.Exception _prev, java.lang.String s)
          Establish the stack for exceptions.
ChainException(java.lang.String s)
           
 
Method Summary
 void printStackTrace()
          Print out all the exceptions caught across layers.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

prev

public java.lang.Exception prev
Constructor Detail

ChainException

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

Parameters:
_prev - the previous exception caught
s - the description for the current exception thrown

ChainException

public ChainException(java.lang.String s)

ChainException

public ChainException()
Default constructor. It will probably never be used since every exception should be pushed onto the stack.

Method Detail

printStackTrace

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