|
|||||||||||
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 | +--com.ibm.itim.exception.ITIMException | +--com.ibm.itim.workflow.model.WorkflowException
This class is used for errors that occurred within the workflow engine.
Constructor Summary | |
---|---|
WorkflowException(java.lang.String errCode)
Deprecated. Use new constructor WorkflowException(String msg, Object[] tokenValues, Throwable cause) |
|
WorkflowException(java.lang.String messageId,
java.lang.Object[] tokens,
java.lang.Throwable cause)
Constructs a new exception with an error message id, tokens, and the cause of the exception. |
|
WorkflowException(java.lang.String errCode,
java.lang.String exMsg)
Deprecated. Use new construtor WorkflowException(String msg, Object[] tokenValues, Throwable cause) |
|
WorkflowException(java.lang.String errCode,
java.lang.Throwable cause)
Deprecated. Use new construtor WorkflowException(String msg, Object[] tokenValues, Throwable cause) |
Method Summary | |
---|---|
java.lang.String |
getErrorCode()
Returns the error code. |
java.lang.String |
getExtraMessage()
Returns the additional information (if any) in string format. |
java.lang.String |
getMessage(java.util.Locale locale)
Returns localized error message according to the specified locale. |
void |
printStackTrace()
Prints out the stack trace, including the stack trace of the original exception (if there was a separate one). |
void |
printStackTrace(java.io.PrintStream ps)
Prints out the stack trace, including the stack trace of the original exception (if there was a separate one). |
void |
printStackTrace(java.io.PrintWriter pw)
Prints out the stack trace, including the stack trace of the original exception (if there was a separate one). |
Methods inherited from class com.ibm.itim.exception.ITIMException |
---|
getLocalizedMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, toXML |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WorkflowException(java.lang.String errCode)
public WorkflowException(java.lang.String errCode, java.lang.String exMsg)
errCode
- Error code identifying the problem.exMsg
- Additional information in a String.public WorkflowException(java.lang.String errCode, java.lang.Throwable cause)
errCode
- Error code identifying the problem.cause
- Throwable representing the exception causing this exception.public WorkflowException(java.lang.String messageId, java.lang.Object[] tokens, java.lang.Throwable cause)
messageId
- Message id of the message identifying the problem.tokens
- Tokens of data to use in the corresponding message representing the message id.cause
- Throwable representing the exception causing this exception.Method Detail |
public java.lang.String getMessage(java.util.Locale locale)
getMessage
in class ITIMException
locale
- Locale to use for localization.
public java.lang.String getErrorCode()
public java.lang.String getExtraMessage()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |