public class OdiKMException extends OdiUncheckedException
Note this exception is a runtime exception since these failures are considered fatal and will halt execution or code generation.
| Constructor and Description |
|---|
OdiKMException(java.lang.String pKey)
Constructor for KM error message.
|
OdiKMException(java.lang.String pKey,
java.lang.Object[] pMsgArgs)
Constructor for KM error message with Message arguments.
|
OdiKMException(java.lang.String pKey,
java.lang.String pOverrideMessage)
A KM exception whose message is given by pKey.
|
OdiKMException(java.lang.String pKey,
java.lang.String pOverrideMessage,
java.lang.Object[] pMsgArgs)
A KM exception whose message is given by pKey
and may be parameterized by pMsgArgs.
|
OdiKMException(java.lang.Throwable pCause,
java.lang.String pKey,
java.lang.Object[] pMsgArgs)
Allow the KM exception to have a Causal exception
|
OdiKMException(java.lang.Throwable pCause,
java.lang.String pKey,
java.lang.String pOverrideMessage,
java.lang.Object[] pMsgArgs)
Allow the KM exception to have a parameterized message, and a Causal exception
and an OverrideMessage
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getSourceObject()
Retrieve the source object associated with this exception
|
void |
setSourceObject(java.lang.Object pSourceObject)
Set the source object associated with this exception
|
getErrorID, getErrorMsgHandle, getLocalizedMessage, getLocalizedMessage, getMessagepublic OdiKMException(java.lang.String pKey)
pKey - Key to custom error message.public OdiKMException(java.lang.String pKey,
java.lang.Object[] pMsgArgs)
pKey - Key to custom error message.pMsgArgs - error message arguments, as an array because it is accessible from Jython.public OdiKMException(java.lang.String pKey,
java.lang.String pOverrideMessage)
public OdiKMException(java.lang.String pKey,
java.lang.String pOverrideMessage,
java.lang.Object[] pMsgArgs)
public OdiKMException(java.lang.Throwable pCause,
java.lang.String pKey,
java.lang.Object[] pMsgArgs)
public OdiKMException(java.lang.Throwable pCause,
java.lang.String pKey,
java.lang.String pOverrideMessage,
java.lang.Object[] pMsgArgs)
public void setSourceObject(java.lang.Object pSourceObject)
pObject - Source object associated with this exceptionpublic java.lang.Object getSourceObject()