Class ErrorEventDefinition

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CamundaErrorEventDefinition

    public class ErrorEventDefinition
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    Daniel Meyer, Ronny Bräunlich
    See Also:
    Serialized Form
    • Field Detail

      • handlerActivityId

        protected final java.lang.String handlerActivityId
      • errorCode

        protected java.lang.String errorCode
      • precedence

        protected java.lang.Integer precedence
      • errorCodeVariable

        protected java.lang.String errorCodeVariable
      • errorMessageVariable

        protected java.lang.String errorMessageVariable
    • Constructor Detail

      • ErrorEventDefinition

        public ErrorEventDefinition​(java.lang.String handlerActivityId)
    • Method Detail

      • getErrorCode

        public java.lang.String getErrorCode()
      • setErrorCode

        public void setErrorCode​(java.lang.String errorCode)
      • getHandlerActivityId

        public java.lang.String getHandlerActivityId()
      • getPrecedence

        public java.lang.Integer getPrecedence()
      • setPrecedence

        public void setPrecedence​(java.lang.Integer precedence)
      • catchesError

        public boolean catchesError​(java.lang.String errorCode)
      • catchesException

        public boolean catchesException​(java.lang.Exception ex)
      • setErrorCodeVariable

        public void setErrorCodeVariable​(java.lang.String errorCodeVariable)
      • getErrorCodeVariable

        public java.lang.String getErrorCodeVariable()
      • setErrorMessageVariable

        public void setErrorMessageVariable​(java.lang.String errorMessageVariable)
      • getErrorMessageVariable

        public java.lang.String getErrorMessageVariable()