|
FreeHEP API Version v1.2.2 |
|||||||||
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.freehep.util.NestedException
An exception with an embedded (nested) exception.
NestedRuntimeException
,
HasNestedException
,
Serialized FormConstructor Summary | |
NestedException()
Create a nested exception |
|
NestedException(String message)
Create a nested exception |
|
NestedException(String message,
Throwable detail)
Create a nested exception |
|
NestedException(Throwable detail)
Create a nested exception |
Method Summary | |
static String |
formatNestedException(HasNestedException t)
A static method for formating the text of any exception which implements HasNestedException |
String |
getMessage()
Get the message text, including the message text if the nested exception |
Throwable |
getNestedException()
Get the exception nested inside |
String |
getSimpleMessage()
Get the message text, without the message text of the nested exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 NestedException()
public NestedException(String message)
message
- The message associated with the exceptionpublic NestedException(Throwable detail)
detail
- The exception nested inside this exceptionpublic NestedException(String message, Throwable detail)
message
- The message associated with the exceptiondetail
- The nested exceptionMethod Detail |
public Throwable getNestedException()
HasNestedException
getNestedException
in interface HasNestedException
public String getMessage()
HasNestedException
getMessage
in interface HasNestedException
getMessage
in class Throwable
public String getSimpleMessage()
HasNestedException
getSimpleMessage
in interface HasNestedException
public static String formatNestedException(HasNestedException t)
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |