|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.oracle.bpel.client.BPELFault
This class represents a standard fault that may be thrown by the server during run-time. A BPEL fault has defined, minimally, a QName that corresponds to the fault name (there are several standard faults that are supported, please refer to Appendix A - Standard Faults in the BPEL 1.1 specification for a complete list).
This class can only be used from within a bpelx:exec
activity; the throw
activity can be used from BPEL code.
Additional information (such as a fault variable) can be passed through as a part. Currently, internal system errors populate error codes and summary messages via parts.
Constructor Summary | |
BPELFault(QName faultName) Creates a new fault with a fault QName. |
|
BPELFault(QName faultName, QName messageTypeQName) Creates a new fault with fault name and message type QName. |
Method Summary | |
QName |
getFaultName() Returns the fault name. |
java.lang.String |
getMessage() Returns String with the fault name, message type QName and parts defined for this fault. |
QName |
getMessageType() Returns the message type QName. |
java.lang.Object |
getPart(java.lang.String name) Returns the part value with the specified name. |
java.util.Map |
getParts() Returns a map of parts. |
void |
setFaultName(QName faultName) Sets the fault name. |
void |
setMessageType(QName messageTypeQName) Sets the message type QName. |
void |
setPart(java.lang.String name, java.lang.Object value) Sets a part with the given name and value. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BPELFault(QName faultName)
public BPELFault(QName faultName, QName messageTypeQName)
Method Detail |
public void setFaultName(QName faultName)
public QName getFaultName()
public void setMessageType(QName messageTypeQName)
public QName getMessageType()
public void setPart(java.lang.String name, java.lang.Object value)
name
- part namepublic java.lang.Object getPart(java.lang.String name)
public java.util.Map getParts()
public java.lang.String getMessage()
String
with the fault name, message type QName and parts defined for this fault.
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |