foundry-0.9.1

foundry.throwables
Class CompositeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--foundry.throwables.CompositeException
All Implemented Interfaces:
Serializable, ThrowableChain, ThrowableContainer
Direct Known Subclasses:
FoundrySQLException, NameException, SPIException, StringUtilsException, ThreadException

public class CompositeException
extends Exception
implements ThrowableChain

See Also:
Serialized Form

Field Summary
private  Throwable throwable
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
CompositeException()
           
CompositeException(String message)
           
CompositeException(Throwable t)
           
CompositeException(Throwable t, String message)
           
 
Method Summary
 Throwable getLastThrowable()
           
 Throwable getLastThrowable(Class c)
           
 int getLength()
           
 Throwable getThrowable()
           
 Throwable getThrowable(Class c)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

throwable

private Throwable throwable
Constructor Detail

CompositeException

public CompositeException()

CompositeException

public CompositeException(String message)

CompositeException

public CompositeException(Throwable t)

CompositeException

public CompositeException(Throwable t,
                          String message)
Method Detail

getThrowable

public Throwable getThrowable()
Specified by:
getThrowable in interface ThrowableContainer

getThrowable

public Throwable getThrowable(Class c)
Specified by:
getThrowable in interface ThrowableChain

getLastThrowable

public Throwable getLastThrowable()
Specified by:
getLastThrowable in interface ThrowableChain

toString

public String toString()
Overrides:
toString in class Throwable

getLastThrowable

public Throwable getLastThrowable(Class c)
Specified by:
getLastThrowable in interface ThrowableChain

getLength

public int getLength()
Specified by:
getLength in interface ThrowableChain

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson