public class StandardFaultException extends BpelException
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_faultName
BPEL standard fault name.
|
protected int |
_namespace
The namespace of the standard fault (bpel or wpc)
|
static java.lang.String |
ALL_JOIN_FAILURE
String constant for wpc:allJoinFailure.
|
static java.lang.String |
COMPENSATE_FAILURE
String constant for wpc:compensateFailure
|
static java.lang.String |
COMPLETION_CONDITION_FAILURE
String constant for bpws:completionConditionFailure.
|
static java.lang.String |
CONFLICTING_RECEIVE
String constant for bpws:conflictingReceive fault.
|
static java.lang.String |
CONFLICTING_RECEIVE1
String constant for conflictingReceive1 message.
|
static java.lang.String |
CONFLICTING_RECEIVE2
String constant for conflictingReceive2 message.
|
static java.lang.String |
CONFLICTING_RECEIVE3
String constant for conflictingReceive3 message.
|
static java.lang.String |
CONFLICTING_REQUEST
String constant for bpws:conflictingRequest fault.
|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
CORRELATION_VIOLATION
String constant for bpws:correlationViolation fault.
|
static java.lang.String |
ENDPOINT_NOT_FOUND
String constant for wpc:endpointNotFound.
|
static java.lang.String |
FORCED_TERMINATION
String constant for bpws:forcedTermination fault.
|
static java.lang.String |
INVALID_BRANCH_CONDITION
String constant for bpws:invalidBranchCondition.
|
static java.lang.String |
INVALID_EXPRESSION_VALUE
String constant for bpws:forEachCounterError.
|
static java.lang.String |
INVALID_REPLY
String constant for bpws:invalidReply fault.
|
static java.lang.String |
IOR_SPLIT_FAILURE
String constant for wpc:iorSplitFailure.
|
static java.lang.String |
JOIN_FAILURE
String constant for bpws:joinFailure fault.
|
static java.lang.String |
MISMATCHED_ASSIGNMENT_FAILURE
String constant for bpws:mismatchedAssignmentFailure fault.
|
static java.lang.String |
MISSING_REPLY
String constant for bpws:missingReply fault.
|
static java.lang.String |
REPEATED_COMPENSATION
String constant for bpws:repeatedCompensation fault.
|
static java.lang.String |
SCOPE_INITIALIZATION_FAILURE
String constant for bpws:scopeInitializationFailure.
|
static java.lang.String |
SELECTION_FAILURE
String constant for bpws:selectionFailure fault.
|
static java.lang.String |
SERVICE_TERMINATED
String constant for wpc:serviceTerminated failure.
|
static java.lang.String |
SPLIT_FAILURE
String constant for wpc:splitFailure.
|
static java.lang.String |
TIMEOUT
String constant for wpc:timeout failure.
|
static java.lang.String |
UNINITIALIZED_PARTNER_ROLE
String constant for bpws:uninitializedPartnerRole fault.
|
static java.lang.String |
UNINITIALIZED_VARIABLE
String constant for bpws:uninititializedVariable fault.
|
NAMESPACE_BPEL, NAMESPACE_WPC
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getFaultName()
Returns the fault name.
|
int |
getNamespace()
Returns the namespace identifier.
|
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.
|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
public static final java.lang.String COPYRIGHT
public static final java.lang.String SELECTION_FAILURE
public static final java.lang.String CONFLICTING_RECEIVE
public static final java.lang.String CONFLICTING_REQUEST
public static final java.lang.String MISMATCHED_ASSIGNMENT_FAILURE
public static final java.lang.String MISSING_REPLY
public static final java.lang.String JOIN_FAILURE
public static final java.lang.String FORCED_TERMINATION
public static final java.lang.String CORRELATION_VIOLATION
public static final java.lang.String UNINITIALIZED_VARIABLE
public static final java.lang.String REPEATED_COMPENSATION
public static final java.lang.String INVALID_REPLY
public static final java.lang.String TIMEOUT
public static final java.lang.String UNINITIALIZED_PARTNER_ROLE
public static final java.lang.String CONFLICTING_RECEIVE1
public static final java.lang.String CONFLICTING_RECEIVE2
public static final java.lang.String CONFLICTING_RECEIVE3
public static final java.lang.String SERVICE_TERMINATED
public static final java.lang.String SPLIT_FAILURE
public static final java.lang.String INVALID_EXPRESSION_VALUE
public static final java.lang.String INVALID_BRANCH_CONDITION
public static final java.lang.String COMPLETION_CONDITION_FAILURE
public static final java.lang.String ENDPOINT_NOT_FOUND
public static final java.lang.String IOR_SPLIT_FAILURE
public static final java.lang.String ALL_JOIN_FAILURE
public static final java.lang.String SCOPE_INITIALIZATION_FAILURE
public static final java.lang.String COMPENSATE_FAILURE
protected java.lang.String _faultName
protected int _namespace
public static StandardFaultException create(java.lang.String standardFaultName, java.lang.Object[] vars, java.lang.Throwable cause)
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.public static boolean isStandardFault(java.lang.String namespace, java.lang.String faultName, java.lang.String bpelNamespace, java.lang.String wpcNamespace)
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.public java.lang.String getFaultName()
getFaultName
in class BpelException
public int getNamespace()