com.ibm.bpe.api

Class StandardFaultException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.bpe.api.ProcessException
  5. extended bycom.ibm.bpe.api.BpelException
  6. extended bycom.ibm.bpe.api.StandardFaultException
All implemented interfaces:
java.io.Serializable

  1. public class StandardFaultException
  2. extends BpelException
Super class for all BPEL standard faults such as bpws:forceTermination.
Since:
5.1
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. java.lang.String
_faultName
BPEL standard fault name.
  1. protected
  2. int
_namespace
The namespace of the standard fault (bpel or wpc)
  1. static
  2. java.lang.String
ALL_JOIN_FAILURE
String constant for wpc:allJoinFailure.
  1. static
  2. java.lang.String
COMPENSATE_FAILURE
String constant for wpc:compensateFailure
  1. static
  2. java.lang.String
COMPLETION_CONDITION_FAILURE
String constant for bpws:completionConditionFailure.
  1. static
  2. java.lang.String
CONFLICTING_RECEIVE
String constant for bpws:conflictingReceive fault.
  1. static
  2. java.lang.String
CONFLICTING_RECEIVE1
String constant for conflictingReceive1 message.
  1. static
  2. java.lang.String
CONFLICTING_RECEIVE2
String constant for conflictingReceive2 message.
  1. static
  2. java.lang.String
CONFLICTING_RECEIVE3
String constant for conflictingReceive3 message.
  1. static
  2. java.lang.String
CONFLICTING_REQUEST
String constant for bpws:conflictingRequest fault.
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. java.lang.String
CORRELATION_VIOLATION
String constant for bpws:correlationViolation fault.
  1. static
  2. java.lang.String
ENDPOINT_NOT_FOUND
String constant for wpc:endpointNotFound.
  1. static
  2. java.lang.String
FORCED_TERMINATION
String constant for bpws:forcedTermination fault.
  1. static
  2. java.lang.String
INVALID_BRANCH_CONDITION
String constant for bpws:invalidBranchCondition.
  1. static
  2. java.lang.String
INVALID_EXPRESSION_VALUE
String constant for bpws:forEachCounterError.
  1. static
  2. java.lang.String
INVALID_REPLY
String constant for bpws:invalidReply fault.
  1. static
  2. java.lang.String
IOR_SPLIT_FAILURE
String constant for wpc:iorSplitFailure.
  1. static
  2. java.lang.String
JOIN_FAILURE
String constant for bpws:joinFailure fault.
  1. static
  2. java.lang.String
MISMATCHED_ASSIGNMENT_FAILURE
String constant for bpws:mismatchedAssignmentFailure fault.
  1. static
  2. java.lang.String
MISSING_REPLY
String constant for bpws:missingReply fault.
  1. static
  2. java.lang.String
REPEATED_COMPENSATION
String constant for bpws:repeatedCompensation fault.
  1. static
  2. java.lang.String
SCOPE_INITIALIZATION_FAILURE
String constant for bpws:scopeInitializationFailure.
  1. static
  2. java.lang.String
SELECTION_FAILURE
String constant for bpws:selectionFailure fault.
  1. static
  2. java.lang.String
SERVICE_TERMINATED
String constant for wpc:serviceTerminated failure.
  1. static
  2. java.lang.String
SPLIT_FAILURE
String constant for wpc:splitFailure.
  1. static
  2. java.lang.String
TIMEOUT
String constant for wpc:timeout failure.
  1. static
  2. java.lang.String
UNINITIALIZED_PARTNER_ROLE
String constant for bpws:uninitializedPartnerRole fault.
  1. static
  2. java.lang.String
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
  1. static
  2. 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.
  1. java.lang.String
getFaultName()
Returns the fault name.
  1. int
getNamespace()
Returns the namespace identifier.
  1. static
  2. 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.
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

  1. public static final java.lang.String COPYRIGHT
See Also:

SELECTION_FAILURE

  1. public static final java.lang.String SELECTION_FAILURE
String constant for bpws:selectionFailure fault.
See Also:

CONFLICTING_RECEIVE

  1. public static final java.lang.String CONFLICTING_RECEIVE
String constant for bpws:conflictingReceive fault.
See Also:

CONFLICTING_REQUEST

  1. public static final java.lang.String CONFLICTING_REQUEST
String constant for bpws:conflictingRequest fault.
See Also:

MISMATCHED_ASSIGNMENT_FAILURE

  1. public static final java.lang.String MISMATCHED_ASSIGNMENT_FAILURE
String constant for bpws:mismatchedAssignmentFailure fault.
See Also:

MISSING_REPLY

  1. public static final java.lang.String MISSING_REPLY
String constant for bpws:missingReply fault.
See Also:

JOIN_FAILURE

  1. public static final java.lang.String JOIN_FAILURE
String constant for bpws:joinFailure fault.
See Also:

FORCED_TERMINATION

  1. public static final java.lang.String FORCED_TERMINATION
String constant for bpws:forcedTermination fault.
See Also:

CORRELATION_VIOLATION

  1. public static final java.lang.String CORRELATION_VIOLATION
String constant for bpws:correlationViolation fault.
See Also:

UNINITIALIZED_VARIABLE

  1. public static final java.lang.String UNINITIALIZED_VARIABLE
String constant for bpws:uninititializedVariable fault.
See Also:

REPEATED_COMPENSATION

  1. public static final java.lang.String REPEATED_COMPENSATION
String constant for bpws:repeatedCompensation fault.
See Also:

INVALID_REPLY

  1. public static final java.lang.String INVALID_REPLY
String constant for bpws:invalidReply fault.
See Also:

TIMEOUT

  1. public static final java.lang.String TIMEOUT
String constant for wpc:timeout failure.
See Also:

UNINITIALIZED_PARTNER_ROLE

  1. public static final java.lang.String UNINITIALIZED_PARTNER_ROLE
String constant for bpws:uninitializedPartnerRole fault.
See Also:

CONFLICTING_RECEIVE1

  1. public static final java.lang.String CONFLICTING_RECEIVE1
String constant for conflictingReceive1 message.
See Also:

CONFLICTING_RECEIVE2

  1. public static final java.lang.String CONFLICTING_RECEIVE2
String constant for conflictingReceive2 message.
See Also:

CONFLICTING_RECEIVE3

  1. public static final java.lang.String CONFLICTING_RECEIVE3
String constant for conflictingReceive3 message.
See Also:

SERVICE_TERMINATED

  1. public static final java.lang.String SERVICE_TERMINATED
String constant for wpc:serviceTerminated failure.
See Also:

SPLIT_FAILURE

  1. public static final java.lang.String SPLIT_FAILURE
String constant for wpc:splitFailure.
See Also:

INVALID_EXPRESSION_VALUE

  1. public static final java.lang.String INVALID_EXPRESSION_VALUE
String constant for bpws:forEachCounterError.
See Also:

INVALID_BRANCH_CONDITION

  1. public static final java.lang.String INVALID_BRANCH_CONDITION
String constant for bpws:invalidBranchCondition.
See Also:

COMPLETION_CONDITION_FAILURE

  1. public static final java.lang.String COMPLETION_CONDITION_FAILURE
String constant for bpws:completionConditionFailure.
See Also:

ENDPOINT_NOT_FOUND

  1. public static final java.lang.String ENDPOINT_NOT_FOUND
String constant for wpc:endpointNotFound.
See Also:

IOR_SPLIT_FAILURE

  1. public static final java.lang.String IOR_SPLIT_FAILURE
String constant for wpc:iorSplitFailure.
See Also:

ALL_JOIN_FAILURE

  1. public static final java.lang.String ALL_JOIN_FAILURE
String constant for wpc:allJoinFailure.
See Also:

SCOPE_INITIALIZATION_FAILURE

  1. public static final java.lang.String SCOPE_INITIALIZATION_FAILURE
String constant for bpws:scopeInitializationFailure.
See Also:

COMPENSATE_FAILURE

  1. public static final java.lang.String COMPENSATE_FAILURE
String constant for wpc:compensateFailure
See Also:

_faultName

  1. protected java.lang.String _faultName
BPEL standard fault name.

_namespace

  1. protected int _namespace
The namespace of the standard fault (bpel or wpc)

Method Detail

create

  1. public static StandardFaultException create( java.lang.String standardFaultName,
  2. java.lang.Object[] vars,
  3. 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

  1. public static boolean isStandardFault( java.lang.String namespace,
  2. java.lang.String faultName,
  3. java.lang.String bpelNamespace,
  4. 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

  1. public java.lang.String getFaultName( )
Returns the fault name.
Specified by:
Returns:
String - The fault name.

getNamespace

  1. public int getNamespace()
Returns the namespace identifier.
Returns:
int - The namespace identifier.