public class IERWorkflowException extends RMRuntimeException
The Locale
used in generation of the IERWorkflowException's
message string is based on the value of the current thread's RMUserContext
.
The JarmLogger
locale determines how the exception message
is localized for purposes of error logging.
This differentiation ensures that all logging entry messages are based on the same
locale while the message attached to a IERWorkflowException
instance is based upon the locale of the current user, since the message is
displayed to that user.
IBM_PREFIX, MESSAGE_ID_PREFIX, MESSAGE_ID_SUFFIX, SWG_ID, W3C_DATE_FORMAT, W3C_DATE_FORMAT_WITH_ZONE
Modifier and Type | Method and Description |
---|---|
static IERWorkflowException |
createIERWorkflowException(RMErrorCode code,
java.lang.Object... params)
Creates a new
IERWorkflowException instance. |
static IERWorkflowException |
createIERWorkflowException(RMErrorCode code,
RMErrorStack errorStack,
java.lang.Object... params)
Creates a new
IERWorkflowException instance. |
static IERWorkflowException |
createIERWorkflowException(java.lang.Throwable cause,
RMErrorCode code,
java.lang.Object... params)
Creates a new
IERWorkflowException instance. |
static IERWorkflowException |
createIERWorkflowException(java.lang.Throwable cause,
RMErrorCode code,
RMErrorStack errorStack,
java.lang.Object... params)
Creates a new
IERWorkflowException instance. |
createRMRuntimeException, createRMRuntimeException, createRMRuntimeException, createRMRuntimeException, formatDate, getErrorCode, getErrorStack, getMessageInfo
public static IERWorkflowException createIERWorkflowException(RMErrorCode code, java.lang.Object... params)
IERWorkflowException
instance.code
- the RMErrorCode
value that
defines the cause of this exception. This entry cannot be null
.params
- optional exception message formatting parameters.IERWorkflowException
instance.public static IERWorkflowException createIERWorkflowException(RMErrorCode code, RMErrorStack errorStack, java.lang.Object... params)
IERWorkflowException
instance.code
- the RMErrorCode
value that
defines the cause of this exception. This entry cannot be null
.errorStack
- a RMErrorStack
containing
repository-specific error information. This entry can be null
.params
- optional exception message formatting parameters.IERWorkflowException
instance.public static IERWorkflowException createIERWorkflowException(java.lang.Throwable cause, RMErrorCode code, java.lang.Object... params)
IERWorkflowException
instance.cause
- the underlying cause for this exception.code
- the RMErrorCode
value that
defines the cause of this exception. This entry cannot be null
.params
- optional exception message formatting parameters.IERWorkflowException
instance.public static IERWorkflowException createIERWorkflowException(java.lang.Throwable cause, RMErrorCode code, RMErrorStack errorStack, java.lang.Object... params)
IERWorkflowException
instance.cause
- the underlying cause for this exception.code
- the RMErrorCode
value that
defines the cause of this exception. This entry cannot be null
.errorStack
- a RMErrorStack
containing
repository-specific error information. This entry can be null
.params
- optional exception message formatting parameters.IERWorkflowException
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.