|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.cgiams.esl.common.exceptions.ESLException
Base exception class from which all Environmental Service Line custom Java Exception classes must extend.
Constructor Summary | |
ESLException()
Default constructor. |
|
ESLException(java.lang.String as_message)
Constructor when providing a default message. |
|
ESLException(java.lang.String as_message,
java.lang.Throwable ao_exception)
Constructor for providing an explicit message and a root exception. |
|
ESLException(java.lang.Throwable ao_exception)
Constructor when providing a root exception. |
Method Summary | |
java.lang.String |
getFormattedErrorMessage()
Formats a nice error message which includes both the current exception message(s), the root exception's message, as well as the root exception's stack trace information. |
java.lang.String |
getMessage()
Retrieve the message for this exception. |
java.lang.Throwable |
getRootException()
Retrieves the root exception for this exception. |
java.lang.String |
getRootMessage()
Retrieves the message of the root 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ESLException()
public ESLException(java.lang.String as_message)
as_message
- The message for this exception.public ESLException(java.lang.Throwable ao_exception)
ao_exception
- The root exception.public ESLException(java.lang.String as_message, java.lang.Throwable ao_exception)
as_message
- A default message for this exception.ao_exception
- The root exception.Method Detail |
public java.lang.Throwable getRootException()
public java.lang.String getMessage()
public java.lang.String getRootMessage()
public java.lang.String getFormattedErrorMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |