|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.enhydra.barracuda.core.util.exceptions.NestableException
This class simply defines a NestableException. A NestableException can contain other exceptions (which may have triggered this exception). The getRootException method provides a means to find the root exception in a NestableException chain.
Constructor Summary | |
NestableException()
The noargs public contructor for NestableException |
|
NestableException(java.lang.String s)
The public contructor for NestableException |
|
NestableException(java.lang.String s,
java.lang.Exception ibaseException)
The public contructor for NestableException |
Method Summary | |
java.lang.Exception |
getBaseException()
get the BaseException behind this exception |
static java.lang.Exception |
getRootException(NestableException ne)
get the RootException behind this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NestableException()
public NestableException(java.lang.String s)
s
- a String describing the exceptionpublic NestableException(java.lang.String s, java.lang.Exception ibaseException)
s
- a String describing the exceptionMethod Detail |
public java.lang.Exception getBaseException()
public static java.lang.Exception getRootException(NestableException ne)
ne
- a NestableException for which we wish to find
the root exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |