|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.barracudamvc.plankton.exceptions.NestableException
public class 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(String s)
The public contructor for NestableException |
|
NestableException(String s,
Exception ibaseException)
The public contructor for NestableException |
Method Summary | |
---|---|
Exception |
getBaseException()
get the BaseException behind this exception |
static 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(String s)
s
- a String describing the exceptionpublic NestableException(String s, Exception ibaseException)
s
- a String describing the exceptionibaseException
- the original exception to wrap within this exceptionMethod Detail |
---|
public Exception getBaseException()
public static 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 |