com.ibm.bpe.api
Class BpelException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.BpelException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
ApplicationFaultException, FaultReplyException, RuntimeFaultException, StandardFaultException, UnhandledFaultException
- 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.
Since:
5.1
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
NAMESPACE_BPEL
The target namespace of the fault is the BPEL name space.
|
|
NAMESPACE_WPC
The target namespace of the fault is the BPEL extension namespace.
|
Fields inherited from class com.ibm.bpe.api.ProcessException |
---|
_catalog, _cause, _id, _key, _message, _vars |
Constructor Summary
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 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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getFaultName()
Returns the fault name.
|
Methods inherited from class com.ibm.bpe.api.ProcessException |
---|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
NAMESPACE_BPEL
- public static final int NAMESPACE_BPEL
The target namespace of the fault is the BPEL name space.
See Also:
NAMESPACE_WPC
- public static final int NAMESPACE_WPC
The target namespace of the fault is the BPEL extension namespace.
See Also:
Constructor Detail
BpelException
- public BpelException(java.lang.String message)
Constructs an exception object from the error message passed.
Parameters:
message
- The error message. BpelException
- public BpelException(java.lang.Throwable cause)
Constructs an exception object from the exception passed.
Parameters:
cause
- The exception that was thrown. BpelException
- public BpelException(java.lang.String message,
- java.lang.Throwable cause)
Constructs an exception object from the error message and the exception passed.
Parameters:
message
- The error message. cause
- The exception that was thrown. BpelException
- public 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. The error message can thus localize
the cause of the error.
Parameters:
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. BpelException
- public 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. The error message can thus
localize the cause of the error.
Parameters:
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. BpelException
- public BpelException(java.lang.String key,
- java.lang.Object[] vars)
Deprecated. Use
BpelException(String, Object[], String)
instead.
Constructs an exception object with the specified message key and remembers
the values of the message variables passed. The error message can thus localize
the cause of the error.
Parameters:
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. BpelException
- public BpelException(java.lang.String key,
- java.lang.Object[] vars,
- java.lang.Throwable cause)
Deprecated. Use
BpelException(String, Object[], String, Throwable)
instead.
Constructs an exception object with the specified message key and exception and
remembers the values of the message variables passed. The error message can thus
localize the cause of the error.
Parameters:
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. Method Detail
getFaultName
- public abstract java.lang.String getFaultName( )
Returns the fault name.
Returns:
String -
The fault name.