Class ErrorEventDefinition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.parser.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 Summary
Fields Modifier and Type Field Description static java.util.Comparator<ErrorEventDefinition>comparatorprotected java.lang.StringerrorCodeprotected java.lang.StringerrorCodeVariableprotected java.lang.StringerrorMessageVariableprotected java.lang.StringhandlerActivityIdprotected java.lang.Integerprecedence
-
Constructor Summary
Constructors Constructor Description ErrorEventDefinition(java.lang.String handlerActivityId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancatchesError(java.lang.String errorCode)booleancatchesException(java.lang.Exception ex)java.lang.StringgetErrorCode()java.lang.StringgetErrorCodeVariable()java.lang.StringgetErrorMessageVariable()java.lang.StringgetHandlerActivityId()java.lang.IntegergetPrecedence()voidsetErrorCode(java.lang.String errorCode)voidsetErrorCodeVariable(java.lang.String errorCodeVariable)voidsetErrorMessageVariable(java.lang.String errorMessageVariable)voidsetPrecedence(java.lang.Integer precedence)
-
-
-
Field Detail
-
comparator
public static java.util.Comparator<ErrorEventDefinition> comparator
-
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
-
-
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()
-
-