public abstract class BpelException extends ProcessException
A BPEL exception can be of the following kinds:
StandardFaultException
signals BPEL standard faults.
RuntimeFaultException
signals runtime faults.
FaultReplyException
states
that a reply contains a fault description.
ApplicationFaultException
wraps faults that occurred during
the execution of an invoke, throw, or script activity.
ApplicationFaultException2
wraps faults that occurred during
the execution of an invoke, throw, or script activity and provides the namespace
of the fault message.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static int |
NAMESPACE_BPEL
The target namespace of the fault is the BPEL name space.
|
static int |
NAMESPACE_WPC
The target namespace of the fault is the BPEL extension namespace.
|
Constructor and Description |
---|
BpelException(java.lang.String message)
Constructs an exception object from the error message passed.
|
BpelException(java.lang.String key,
java.lang.Object[] vars)
Deprecated.
Use
BpelException(String, Object[], String) instead. |
BpelException(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.
|
BpelException(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.
|
BpelException(java.lang.String key,
java.lang.Object[] vars,
java.lang.Throwable cause)
Deprecated.
Use
BpelException(String, Object[], String, Throwable) instead. |
BpelException(java.lang.String catalog,
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.
|
BpelException(java.lang.String message,
java.lang.Throwable cause)
Constructs an exception object from the error message and the exception passed.
|
BpelException(java.lang.Throwable cause)
Constructs an exception object from the exception passed.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getFaultName()
Returns the fault name.
|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
public static final java.lang.String COPYRIGHT
public static final int NAMESPACE_BPEL
public static final int NAMESPACE_WPC
public BpelException(java.lang.String message)
message
- The error message.public BpelException(java.lang.Throwable cause)
cause
- The exception that was thrown.public BpelException(java.lang.String message, java.lang.Throwable cause)
message
- The error message.cause
- The exception that was thrown.public BpelException(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 BpelException(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 BpelException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
catalog
- The catalog which have to be used to retrieve the message.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 BpelException(java.lang.String key, java.lang.Object[] vars)
BpelException(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 BpelException(java.lang.String key, java.lang.Object[] vars, java.lang.Throwable cause)
BpelException(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.