public class RuntimeFaultException extends BpelException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
protected static java.lang.String |
FAULT_NAME
The ncname of the system fault.
|
NAMESPACE_BPEL, NAMESPACE_WPC
Constructor and Description |
---|
RuntimeFaultException(ProcessException processException)
Converts a ProcessException into a RuntimeFaultException.
|
RuntimeFaultException(java.lang.String key,
java.lang.Object[] vars)
Deprecated.
Use
RuntimeFaultException(String, Object[], String) instead. |
RuntimeFaultException(java.lang.String key,
java.lang.Object[] vars,
java.lang.String id)
Constructs an exception object with the specified message key and remembers
the values of the message variables passed.
|
RuntimeFaultException(java.lang.String key,
java.lang.Object[] vars,
java.lang.String id,
java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and
remembers the values of the message variables passed.
|
RuntimeFaultException(java.lang.String key,
java.lang.Object[] vars,
java.lang.Throwable cause)
Deprecated.
|
RuntimeFaultException(java.lang.String message,
java.lang.Throwable throwable)
Constructs an exception object from the error message and the exception passed.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFaultName()
Returns the fault name.
|
int |
getNamespace()
Returns the namespace identifier.
|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
public static final java.lang.String COPYRIGHT
protected static final java.lang.String FAULT_NAME
public RuntimeFaultException(java.lang.String message, java.lang.Throwable throwable)
message
- The error message.throwable
- The exception that was thrown.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id)
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects,
they must be Serializable.id
- The message id.public RuntimeFaultException(ProcessException processException)
processException
- The process exception.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects,
they must be Serializable.id
- The message id.cause
- The exception that was thrown.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars)
RuntimeFaultException(String, Object[], String)
instead.key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects,
they must be Serializable.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.Throwable cause)
RuntimeFaultException(String, Object[], String, Throwable)
instead.key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects,
they must be Serializable.cause
- The exception that was thrown.public java.lang.String getFaultName()
getFaultName
in class BpelException
public int getNamespace()