Class ErrorDeclarationForProcessInstanceFinder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.helper.ErrorDeclarationForProcessInstanceFinder
-
- All Implemented Interfaces:
TreeVisitor<PvmScope>
public class ErrorDeclarationForProcessInstanceFinder extends java.lang.Object implements TreeVisitor<PvmScope>
-
-
Field Summary
Fields Modifier and Type Field Description protected PvmActivity
currentActivity
protected java.lang.String
errorCode
protected ErrorEventDefinition
errorEventDefinition
protected PvmActivity
errorHandlerActivity
protected java.lang.Exception
exception
-
Constructor Summary
Constructors Constructor Description ErrorDeclarationForProcessInstanceFinder(java.lang.Exception exception, java.lang.String errorCode, PvmActivity currentActivity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorEventDefinition
getErrorEventDefinition()
PvmActivity
getErrorHandlerActivity()
protected boolean
isReThrowingErrorEventSubprocess(PvmActivity activityHandler)
void
visit(PvmScope scope)
Invoked for a node in tree.
-
-
-
Field Detail
-
exception
protected java.lang.Exception exception
-
errorCode
protected java.lang.String errorCode
-
errorHandlerActivity
protected PvmActivity errorHandlerActivity
-
errorEventDefinition
protected ErrorEventDefinition errorEventDefinition
-
currentActivity
protected PvmActivity currentActivity
-
-
Constructor Detail
-
ErrorDeclarationForProcessInstanceFinder
public ErrorDeclarationForProcessInstanceFinder(java.lang.Exception exception, java.lang.String errorCode, PvmActivity currentActivity)
-
-
Method Detail
-
visit
public void visit(PvmScope scope)
Description copied from interface:TreeVisitor
Invoked for a node in tree.- Specified by:
visit
in interfaceTreeVisitor<PvmScope>
- Parameters:
scope
- a reference to the node
-
isReThrowingErrorEventSubprocess
protected boolean isReThrowingErrorEventSubprocess(PvmActivity activityHandler)
-
getErrorHandlerActivity
public PvmActivity getErrorHandlerActivity()
-
getErrorEventDefinition
public ErrorEventDefinition getErrorEventDefinition()
-
-