org.camunda.bpm.engine.impl.bpmn.parser
Class ErrorEventDefinition

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.parser.ErrorEventDefinition
All Implemented Interfaces:
Serializable

public class ErrorEventDefinition
extends Object
implements Serializable

Author:
Daniel Meyer, Ronny Bräunlich
See Also:
Serialized Form

Field Summary
static Comparator<ErrorEventDefinition> comparator
           
protected  String errorCode
           
protected  String errorCodeVariable
           
protected  String errorMessageVariable
           
protected  String handlerActivityId
           
protected  Integer precedence
           
 
Constructor Summary
ErrorEventDefinition(String handlerActivityId)
           
 
Method Summary
 boolean catchesError(String errorCode)
           
 boolean catchesException(Exception ex)
           
 String getErrorCode()
           
 String getErrorCodeVariable()
           
 String getErrorMessageVariable()
           
 String getHandlerActivityId()
           
 Integer getPrecedence()
           
 void setErrorCode(String errorCode)
           
 void setErrorCodeVariable(String errorCodeVariable)
           
 void setErrorMessageVariable(String errorMessageVariable)
           
 void setPrecedence(Integer precedence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparator

public static Comparator<ErrorEventDefinition> comparator

handlerActivityId

protected final String handlerActivityId

errorCode

protected String errorCode

precedence

protected Integer precedence

errorCodeVariable

protected String errorCodeVariable

errorMessageVariable

protected String errorMessageVariable
Constructor Detail

ErrorEventDefinition

public ErrorEventDefinition(String handlerActivityId)
Method Detail

getErrorCode

public String getErrorCode()

setErrorCode

public void setErrorCode(String errorCode)

getHandlerActivityId

public String getHandlerActivityId()

getPrecedence

public Integer getPrecedence()

setPrecedence

public void setPrecedence(Integer precedence)

catchesError

public boolean catchesError(String errorCode)

catchesException

public boolean catchesException(Exception ex)

setErrorCodeVariable

public void setErrorCodeVariable(String errorCodeVariable)

getErrorCodeVariable

public String getErrorCodeVariable()

setErrorMessageVariable

public void setErrorMessageVariable(String errorMessageVariable)

getErrorMessageVariable

public String getErrorMessageVariable()


Copyright © 2017 camunda services GmbH. All rights reserved.