|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intel.gpe.clients.api.workflow.ActionScope.Catch
public static class ActionScope.Catch
Fault handler to catch faults with the (probably) specified QName.
The fault name is the QName of the fault element retruned as the response
during the service invocation. Another possibility to obtain a fault is to invoke
directly a throw-clause (see Throw).
| Constructor Summary | |
|---|---|
ActionScope.Catch(javax.xml.namespace.QName faultName,
Action action)
Create a fault handler. |
|
| Method Summary | |
|---|---|
void |
emitCode(Scope scope,
org.w3c.dom.Element target)
Emit the piece of code corresponding to the current action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionScope.Catch(javax.xml.namespace.QName faultName,
Action action)
faultName - The name of the fault to catch. If null catch all faults.action - The action to perform in the case of matching the thrown fault and the faultName| Method Detail |
|---|
public void emitCode(Scope scope,
org.w3c.dom.Element target)
throws java.lang.Exception
Action
emitCode in interface Actionscope - The variable scope of the workflowtarget - The XML DOM element to append the action code to
java.lang.Exception - In a case of error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||