com.ibm.bpe.api

Class UnhandledFaultException

  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.UnhandledFaultException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
EngineConditionEvaluationFailedException, EngineExitConditionExpressionEvaluationFailedException, EngineJavaExecutionFailedException, EngineJoinConditionFailedException, EngineTimeoutExpressionEvaluationFailedException, EngineTransitionConditionFailedException

  1. public class UnhandledFaultException
  2. extends BpelException
Super class for all unhandled fault exceptions. These exceptions are used as wrappers for faults that cause activities to stop. The unhandled exceptions carry details about the stop reason and are stored in the unhandledException field of stopped activity instances.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
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
UnhandledFaultException(java.lang.String message)
Constructs an exception object from the error message passed.
UnhandledFaultException(java.lang.String key,java.lang.Object[] vars)
UnhandledFaultException(java.lang.String key,java.lang.Object[] vars,java.lang.String id)
Constructs an exception object with the specified message key and remembers the values of the message variables passed.
UnhandledFaultException(java.lang.String key,java.lang.Object[] vars,java.lang.String id,java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed.
UnhandledFaultException(java.lang.String key,java.lang.Object[] vars,java.lang.Throwable cause)
UnhandledFaultException(java.lang.String message,java.lang.Throwable cause)
Constructs an exception object from the error message and the exception passed.
UnhandledFaultException(java.lang.Throwable cause)
Constructs an exception object from the exception passed.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getFaultName()
Returns the fault name.
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:

Constructor Detail

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.String message)
Constructs an exception object from the error message passed.
Parameters:
message - The error message.

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.Throwable cause)
Constructs an exception object from the exception passed.
Parameters:
cause - The exception that was thrown.

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.String message,
  2. java.lang.Throwable cause)
Constructs an exception object from the error message and the exception passed.
Parameters:
message - The error message.
cause - The exception that was thrown.

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.String key,
  2. java.lang.Object[] vars,
  3. java.lang.String id)
Constructs an exception object with the specified message key and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
key - The message key.
vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
id - The message id.

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.String key,
  2. java.lang.Object[] vars,
  3. java.lang.String id,
  4. java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
key - The message key.
vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
id - The message id.
cause - The exception that was thrown.

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.String key,
  2. java.lang.Object[] vars)
Constructs an exception object with the specified message key and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
key - The message key.
vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.

UnhandledFaultException

  1. public UnhandledFaultException( java.lang.String key,
  2. java.lang.Object[] vars,
  3. java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
key - The message key.
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.

Method Detail

getFaultName

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