|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.BpelException
com.ibm.bpe.api.RuntimeFaultException
public class RuntimeFaultException
RuntimeFaultException wraps all runtime failures that can happen during the execution of BPEL processes, for example, when executing a script activity or when evaluating a transition condition.
A RuntimeFaultException can be handled by a catch-all activity or by a catch activity that catches "wpc:runtimeFailure".
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
protected static java.lang.String |
FAULT_NAME
The ncname of the system 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 |
Constructor Summary | |
---|---|
RuntimeFaultException(java.lang.String key,
java.lang.Object[] vars)
Deprecated. Use RuntimeFaultException(String, Object[], String) instead. |
|
RuntimeFaultException(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. |
|
RuntimeFaultException(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. |
|
RuntimeFaultException(java.lang.String key,
java.lang.Object[] vars,
java.lang.Throwable cause)
Deprecated. Use RuntimeFaultException(String, Object[], String, Throwable) instead. |
|
RuntimeFaultException(java.lang.String message,
java.lang.Throwable throwable)
Constructs an exception object from the error message and the exception passed. |
Method Summary | |
---|---|
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, 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 |
---|
public static final java.lang.String COPYRIGHT
protected static final java.lang.String FAULT_NAME
Constructor Detail |
---|
public RuntimeFaultException(java.lang.String message, java.lang.Throwable throwable)
message
- The error message.throwable
- The exception that was thrown.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id)
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.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
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.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars)
RuntimeFaultException(String, Object[], String)
instead.
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.public RuntimeFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.Throwable cause)
RuntimeFaultException(String, Object[], String, Throwable)
instead.
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 |
---|
public java.lang.String getFaultName()
getFaultName
in class BpelException
public int getNamespace()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |