public class ApplicationFaultException extends BpelException
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_faultName |
protected com.ibm.bpe.api.UTID |
_utid |
static java.lang.String |
COPYRIGHT |
NAMESPACE_BPEL, NAMESPACE_WPC
Constructor and Description |
---|
ApplicationFaultException(java.lang.Object[] vars,
java.lang.String faultName,
com.ibm.bpe.api.UTID utid,
java.io.Serializable faultMessage)
Constructs an exception object with the specified fault name and message and
remembers the values of the message variables passed.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getFaultMessage()
Returns the fault message.
|
java.lang.String |
getFaultName()
Returns the fault name.
|
com.ibm.bpe.api.UTID |
getFaultUTID()
Returns the URI of the namespace of the fault.
|
void |
setFaultMessage(java.io.Serializable faultMessage)
Wraps the fault message into a ClientObjectWrapper object.
|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
public static final java.lang.String COPYRIGHT
protected java.lang.String _faultName
protected com.ibm.bpe.api.UTID _utid
public ApplicationFaultException(java.lang.Object[] vars, java.lang.String faultName, com.ibm.bpe.api.UTID utid, java.io.Serializable faultMessage)
vars
- The values of the message variables. Can be an empty array. If the array contains objects,
they must be Serializable.faultName
- The fault name.utid
- The namespace URI template ID of the fault name.faultMessage
- The fault message.public java.lang.String getFaultName()
getFaultName
in class BpelException
public com.ibm.bpe.api.UTID getFaultUTID()
public void setFaultMessage(java.io.Serializable faultMessage)
faultMessage
- The fault message.public java.io.Serializable getFaultMessage() throws DataHandlingException
DataHandlingException
- Thrown if the message object cannot be deserialized.