public class ApplicationException extends ITIMException
| Constructor and Description |
|---|
ApplicationException(java.lang.String errCode)
Constructs an ApplicationException with an error code.
|
ApplicationException(java.lang.String errCode,
java.lang.Object[] tokens)
Constructs an ApplicationException with an error code and message tokens.
|
ApplicationException(java.lang.String errCode,
java.lang.Object[] tokens,
java.lang.Throwable cause)
Constructs with an error code and the cause exception.
|
ApplicationException(java.lang.String errCode,
java.lang.String exMsg)
Constructs with an error code and an extra message string.
|
ApplicationException(java.lang.String errCode,
java.lang.Throwable cause)
Constructs with an error code and the cause exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorCode()
Returns the error code.
|
java.lang.String |
getExtraMessage()
Returns the first token in the tokens array used to construct this
ApplicationException, (i.e., tokens[0].toString()) or
null if no tokens are present.
|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXMLpublic ApplicationException(java.lang.String errCode)
errCode - Code for the error.public ApplicationException(java.lang.String errCode,
java.lang.Object[] tokens)
errCode - Error code identifying the problem.tokens - Object[] containing string values for replaceable tokens
in the message bundle string.public ApplicationException(java.lang.String errCode,
java.lang.String exMsg)
errCode - Error code identifying the problem.exMsg - Additional information in a String.public ApplicationException(java.lang.String errCode,
java.lang.Throwable cause)
errCode - Error code identifying the problem.cause - Throwable representing the exception causing this exception.public ApplicationException(java.lang.String errCode,
java.lang.Object[] tokens,
java.lang.Throwable cause)
errCode - Error code identifying the problem.cause - Throwable representing the exception causing this exception.tokens - Object[] containing string values for replaceable tokens
in the message bundle string.public java.lang.String getErrorCode()
public java.lang.String getExtraMessage()