Class ErrorEventDefinition

java.lang.Object
org.camunda.bpm.engine.impl.bpmn.parser.ErrorEventDefinition
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CamundaErrorEventDefinition

public class ErrorEventDefinition extends Object implements Serializable
Author:
Daniel Meyer, Ronny Bräunlich
See Also:
  • Field Details

    • 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 Details

    • ErrorEventDefinition

      public ErrorEventDefinition(String handlerActivityId)
  • Method Details

    • 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()