com.ibm.bpe.api
Class StandardFaultException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.BpelException
com.ibm.bpe.api.StandardFaultException
All implemented interfaces:
java.io.Serializable
- public class StandardFaultException
- extends BpelException
Since:
5.1
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
_faultName
BPEL standard fault name.
|
|
_namespace
The namespace of the standard fault (bpel or wpc)
|
|
ALL_JOIN_FAILURE
String constant for wpc:allJoinFailure.
|
|
COMPENSATE_FAILURE
String constant for wpc:compensateFailure
|
|
COMPLETION_CONDITION_FAILURE
String constant for bpws:completionConditionFailure.
|
|
CONFLICTING_RECEIVE
String constant for bpws:conflictingReceive fault.
|
|
CONFLICTING_RECEIVE1
String constant for conflictingReceive1 message.
|
|
CONFLICTING_RECEIVE2
String constant for conflictingReceive2 message.
|
|
CONFLICTING_RECEIVE3
String constant for conflictingReceive3 message.
|
|
CONFLICTING_REQUEST
String constant for bpws:conflictingRequest fault.
|
|
COPYRIGHT
|
|
CORRELATION_VIOLATION
String constant for bpws:correlationViolation fault.
|
|
ENDPOINT_NOT_FOUND
String constant for wpc:endpointNotFound.
|
|
FORCED_TERMINATION
String constant for bpws:forcedTermination fault.
|
|
INVALID_BRANCH_CONDITION
String constant for bpws:invalidBranchCondition.
|
|
INVALID_EXPRESSION_VALUE
String constant for bpws:forEachCounterError.
|
|
INVALID_REPLY
String constant for bpws:invalidReply fault.
|
|
IOR_SPLIT_FAILURE
String constant for wpc:iorSplitFailure.
|
|
JOIN_FAILURE
String constant for bpws:joinFailure fault.
|
|
MISMATCHED_ASSIGNMENT_FAILURE
String constant for bpws:mismatchedAssignmentFailure fault.
|
|
MISSING_REPLY
String constant for bpws:missingReply fault.
|
|
REPEATED_COMPENSATION
String constant for bpws:repeatedCompensation fault.
|
|
SCOPE_INITIALIZATION_FAILURE
String constant for bpws:scopeInitializationFailure.
|
|
SELECTION_FAILURE
String constant for bpws:selectionFailure fault.
|
|
SERVICE_TERMINATED
String constant for wpc:serviceTerminated failure.
|
|
SPLIT_FAILURE
String constant for wpc:splitFailure.
|
|
TIMEOUT
String constant for wpc:timeout failure.
|
|
UNINITIALIZED_PARTNER_ROLE
String constant for bpws:uninitializedPartnerRole fault.
|
|
UNINITIALIZED_VARIABLE
String constant for bpws:uninititializedVariable fault.
|
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 |
Method Summary
Modifier and Type | Method and Description |
---|---|
|
create(java.lang.String standardFaultName,java.lang.Object[] vars,java.lang.Throwable cause)
Constructs an exception object with the specified fault name and exception and
remembers the values of the message variables passed.
|
|
getFaultName()
Returns the fault name.
|
|
getNamespace()
Returns the namespace identifier.
|
|
isStandardFault(java.lang.String namespace,java.lang.String faultName,java.lang.String bpelNamespace,java.lang.String wpcNamespace)
Checks whether the given fault is a standard fault.
|
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:
SELECTION_FAILURE
- public static final java.lang.String SELECTION_FAILURE
String constant for bpws:selectionFailure fault.
See Also:
CONFLICTING_RECEIVE
- public static final java.lang.String CONFLICTING_RECEIVE
String constant for bpws:conflictingReceive fault.
See Also:
CONFLICTING_REQUEST
- public static final java.lang.String CONFLICTING_REQUEST
String constant for bpws:conflictingRequest fault.
See Also:
MISMATCHED_ASSIGNMENT_FAILURE
- public static final java.lang.String MISMATCHED_ASSIGNMENT_FAILURE
String constant for bpws:mismatchedAssignmentFailure fault.
See Also:
MISSING_REPLY
- public static final java.lang.String MISSING_REPLY
String constant for bpws:missingReply fault.
See Also:
JOIN_FAILURE
- public static final java.lang.String JOIN_FAILURE
String constant for bpws:joinFailure fault.
See Also:
FORCED_TERMINATION
- public static final java.lang.String FORCED_TERMINATION
String constant for bpws:forcedTermination fault.
See Also:
CORRELATION_VIOLATION
- public static final java.lang.String CORRELATION_VIOLATION
String constant for bpws:correlationViolation fault.
See Also:
UNINITIALIZED_VARIABLE
- public static final java.lang.String UNINITIALIZED_VARIABLE
String constant for bpws:uninititializedVariable fault.
See Also:
REPEATED_COMPENSATION
- public static final java.lang.String REPEATED_COMPENSATION
String constant for bpws:repeatedCompensation fault.
See Also:
INVALID_REPLY
- public static final java.lang.String INVALID_REPLY
String constant for bpws:invalidReply fault.
See Also:
TIMEOUT
- public static final java.lang.String TIMEOUT
String constant for wpc:timeout failure.
See Also:
UNINITIALIZED_PARTNER_ROLE
- public static final java.lang.String UNINITIALIZED_PARTNER_ROLE
String constant for bpws:uninitializedPartnerRole fault.
See Also:
CONFLICTING_RECEIVE1
- public static final java.lang.String CONFLICTING_RECEIVE1
String constant for conflictingReceive1 message.
See Also:
CONFLICTING_RECEIVE2
- public static final java.lang.String CONFLICTING_RECEIVE2
String constant for conflictingReceive2 message.
See Also:
CONFLICTING_RECEIVE3
- public static final java.lang.String CONFLICTING_RECEIVE3
String constant for conflictingReceive3 message.
See Also:
SERVICE_TERMINATED
- public static final java.lang.String SERVICE_TERMINATED
String constant for wpc:serviceTerminated failure.
See Also:
SPLIT_FAILURE
- public static final java.lang.String SPLIT_FAILURE
String constant for wpc:splitFailure.
See Also:
INVALID_EXPRESSION_VALUE
- public static final java.lang.String INVALID_EXPRESSION_VALUE
String constant for bpws:forEachCounterError.
See Also:
INVALID_BRANCH_CONDITION
- public static final java.lang.String INVALID_BRANCH_CONDITION
String constant for bpws:invalidBranchCondition.
See Also:
COMPLETION_CONDITION_FAILURE
- public static final java.lang.String COMPLETION_CONDITION_FAILURE
String constant for bpws:completionConditionFailure.
See Also:
ENDPOINT_NOT_FOUND
- public static final java.lang.String ENDPOINT_NOT_FOUND
String constant for wpc:endpointNotFound.
See Also:
IOR_SPLIT_FAILURE
- public static final java.lang.String IOR_SPLIT_FAILURE
String constant for wpc:iorSplitFailure.
See Also:
ALL_JOIN_FAILURE
- public static final java.lang.String ALL_JOIN_FAILURE
String constant for wpc:allJoinFailure.
See Also:
SCOPE_INITIALIZATION_FAILURE
- public static final java.lang.String SCOPE_INITIALIZATION_FAILURE
String constant for bpws:scopeInitializationFailure.
See Also:
COMPENSATE_FAILURE
- public static final java.lang.String COMPENSATE_FAILURE
String constant for wpc:compensateFailure
See Also:
_faultName
- protected java.lang.String _faultName
BPEL standard fault name.
_namespace
- protected int _namespace
The namespace of the standard fault (bpel or wpc)
Method Detail
create
- public static StandardFaultException create( java.lang.String standardFaultName,
- java.lang.Object[] vars,
- java.lang.Throwable cause)
Constructs an exception object with the specified fault name and exception and
remembers the values of the message variables passed. The error message can thus
localize the cause of the error.
Parameters:
standardFaultName
- The fault name. 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. isStandardFault
- public static boolean isStandardFault( java.lang.String namespace,
- java.lang.String faultName,
- java.lang.String bpelNamespace,
- java.lang.String wpcNamespace)
Checks whether the given fault is a standard fault.
Parameters:
namespace
- The namespace of the fault. faultName
- The name of the fault. bpelNamespace
- The BPEL namepace. May not be null. wpcNamespace
- The BPEL extensions namespace. May not be null. Returns:
True iff the given fault is a standard fault.
getFaultName
- public java.lang.String getFaultName( )
Returns the fault name.
Specified by:
getFaultName
in class BpelException
Returns:
String -
The fault name.
getNamespace
- public int getNamespace()
Returns the namespace identifier.
Returns:
int -
The namespace identifier.