com.ibm.bpe.api
Class StandardFaultException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.bpe.api.ProcessException
              extended bycom.ibm.bpe.api.BpelException
                  extended bycom.ibm.bpe.api.StandardFaultException
All Implemented Interfaces:
java.io.Serializable

public class StandardFaultException
extends BpelException

Super class for all BPEL standard faults such as bpws:forceTermination.

Since:
5.1
See Also:
Serialized Form

Field Summary
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 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 FORCED_TERMINATION
          String constant for bpws:forcedTermination fault.
static java.lang.String INVALID_REPLY
          String constant for bpws:invalidReply fault.
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 SELECTION_FAILURE
          String constant for bpws:selectionFailure fault.
static java.lang.String SERVICE_TERMINATED
          String constant for wpc:serviceTerminated failure.
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.
 
Fields inherited from class com.ibm.bpe.api.BpelException
NAMESPACE_BPEL, NAMESPACE_WPC
 
Method Summary
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.
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageKey, getMessageVariables, getRootCause, 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:
Constant Field Values

SELECTION_FAILURE

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

See Also:
Constant Field Values

CONFLICTING_RECEIVE

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

See Also:
Constant Field Values

CONFLICTING_REQUEST

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

See Also:
Constant Field Values

MISMATCHED_ASSIGNMENT_FAILURE

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

See Also:
Constant Field Values

MISSING_REPLY

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

See Also:
Constant Field Values

JOIN_FAILURE

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

See Also:
Constant Field Values

FORCED_TERMINATION

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

See Also:
Constant Field Values

CORRELATION_VIOLATION

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

See Also:
Constant Field Values

UNINITIALIZED_VARIABLE

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

See Also:
Constant Field Values

REPEATED_COMPENSATION

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

See Also:
Constant Field Values

INVALID_REPLY

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

See Also:
Constant Field Values

TIMEOUT

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

See Also:
Constant Field Values

UNINITIALIZED_PARTNER_ROLE

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

See Also:
Constant Field Values

CONFLICTING_RECEIVE1

public static final java.lang.String CONFLICTING_RECEIVE1
String constant for conflictingReceive1 message.

See Also:
Constant Field Values

CONFLICTING_RECEIVE2

public static final java.lang.String CONFLICTING_RECEIVE2
String constant for conflictingReceive2 message.

See Also:
Constant Field Values

CONFLICTING_RECEIVE3

public static final java.lang.String CONFLICTING_RECEIVE3
String constant for conflictingReceive3 message.

See Also:
Constant Field Values

SERVICE_TERMINATED

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

See Also:
Constant Field Values

_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.

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.