com.ibm.bpe.api
Class ApplicationFaultException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.BpelException
com.ibm.bpe.api.ApplicationFaultException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
- public class ApplicationFaultException
- extends BpelException
Since:
5.1
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
_faultName
|
|
_utid
|
|
COPYRIGHT
|
Fields inherited from class com.ibm.bpe.api.BpelException |
---|
NAMESPACE_BPEL, NAMESPACE_WPC |
Fields inherited from class com.ibm.bpe.api.ProcessException |
---|
_catalog, _cause, _id, _key, _message, _vars |
Constructor Summary
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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getFaultMessage()
Returns the fault message.
|
|
getFaultName()
Returns the fault name.
|
|
getFaultUTID()
Returns the URI of the namespace of the fault.
|
|
setFaultMessage(java.io.Serializable faultMessage)
Wraps the fault message into a ClientObjectWrapper object.
|
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:
_faultName
- protected java.lang.String _faultName
_utid
- protected com.ibm.bpe.api.UTID _utid
Constructor Detail
ApplicationFaultException
- public 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. The fault message can thus
localize the cause of the error.
Parameters:
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. Method Detail
getFaultName
- public java.lang.String getFaultName( )
Returns the fault name.
Specified by:
getFaultName
in class BpelException
Returns:
String -
The fault name.
getFaultUTID
- public com.ibm.bpe.api.UTID getFaultUTID( )
Returns the URI of the namespace of the fault.
Returns:
UTID -
The URI template ID of the fault namespace.
setFaultMessage
- public void setFaultMessage(java.io.Serializable faultMessage)
Wraps the fault message into a ClientObjectWrapper object.
Parameters:
faultMessage
- The fault message. getFaultMessage
- public java.io.Serializable getFaultMessage( )
- throws DataHandlingException
Returns the fault message.
Returns:
Serializable -
The message that is associated with the fault.
Throws:
DataHandlingException
- Thrown if the message object cannot be deserialized.