|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.spis.aii.ResultProvider.ExceptionResult
A special kind of result that may be returned by
result
. It causes the activity to be abandoned and
the exception name used in the constructor to be signaled to
the workflow engine.
Activity.abandon(String)
Constructor Summary | |
ResultProvider.ExceptionResult(java.lang.String exceptionName)
May be used by a tool agent implementation to create a special result that causes the activity to be abandoned, and the exception with the given name to be signaled to the workflow engine for transition evaluation. |
|
ResultProvider.ExceptionResult(java.lang.String exceptionName,
boolean suspendActivity)
May be used by a tool agent implementation to create a special result that causes the activity to be abandoned, and the exception with the given name to be signaled to the workflow engine for transition evaluation. |
Method Summary | |
java.lang.String |
exceptionName()
Return the exception name passed to the constructor. |
boolean |
suspendActivity()
Return the suspend activity flag passed to the constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResultProvider.ExceptionResult(java.lang.String exceptionName)
exceptionName
- the name of the exception to be
signaledpublic ResultProvider.ExceptionResult(java.lang.String exceptionName, boolean suspendActivity)
exceptionName
- the name of the exception to be
signaledsuspendActivity
- if true
suspend the
invoking activityMethod Detail |
public java.lang.String exceptionName()
public boolean suspendActivity()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |