|
|||||||||
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.softwareag.centrasite.api.common.exception.CLLException
public class CLLException
Utility class that wraps all exceptions into the CLLException
Constructor Summary | |
---|---|
CLLException(CLLMessage msgObject)
|
|
CLLException(CLLMessage msgObject,
java.lang.Throwable cause)
|
Method Summary | |
---|---|
static CLLException |
createCLLException(java.lang.String id,
java.lang.Throwable throwable,
java.lang.Object... positionalParams)
Constructs a CLLException with the specified parameters. |
java.lang.String |
getAction()
Returns the corrective actions on occurrence of a particular exception with the given message Id. |
java.lang.String |
getExplanation()
Returns the explanation of an exception message with the given message Id. |
java.lang.String |
getMessage()
Overrides Throwable.toString() method Returns the message text of an exception message with the given message Id. |
CLLMessage |
getMessageObject()
|
java.lang.String |
toString()
Overrides Throwable.toString() method Returns the message text of an exception message with the given message Id. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CLLException(CLLMessage msgObject)
msgObject
- localized error message objectpublic CLLException(CLLMessage msgObject, java.lang.Throwable cause)
msgObject
- localized error message objectcause
- exception messageMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getExplanation()
public java.lang.String getAction()
public java.lang.String toString()
toString
in class java.lang.Throwable
public CLLMessage getMessageObject()
public static CLLException createCLLException(java.lang.String id, java.lang.Throwable throwable, java.lang.Object... positionalParams)
id
- unique message identifierthrowable
- exceptions to wrap into CLLExceptionpositionalParams
- positional parameters for constructing an exception message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |