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>
comparator
protected java.lang.String
errorCode
protected java.lang.String
errorCodeVariable
protected java.lang.String
errorMessageVariable
protected java.lang.String
handlerActivityId
protected java.lang.Integer
precedence
-
Constructor Summary
Constructors Constructor Description ErrorEventDefinition(java.lang.String handlerActivityId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
catchesError(java.lang.String errorCode)
boolean
catchesException(java.lang.Exception ex)
java.lang.String
getErrorCode()
java.lang.String
getErrorCodeVariable()
java.lang.String
getErrorMessageVariable()
java.lang.String
getHandlerActivityId()
java.lang.Integer
getPrecedence()
void
setErrorCode(java.lang.String errorCode)
void
setErrorCodeVariable(java.lang.String errorCodeVariable)
void
setErrorMessageVariable(java.lang.String errorMessageVariable)
void
setPrecedence(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()
-
-