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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<ErrorEventDefinition>comparatorprotected StringerrorCodeprotected StringerrorCodeVariableprotected StringerrorMessageVariableprotected StringhandlerActivityIdprotected Integerprecedence
-
Constructor Summary
Constructors Constructor Description ErrorEventDefinition(String handlerActivityId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancatchesError(String errorCode)booleancatchesException(Exception ex)StringgetErrorCode()StringgetErrorCodeVariable()StringgetErrorMessageVariable()StringgetHandlerActivityId()IntegergetPrecedence()voidsetErrorCode(String errorCode)voidsetErrorCodeVariable(String errorCodeVariable)voidsetErrorMessageVariable(String errorMessageVariable)voidsetPrecedence(Integer precedence)
-
-
-
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()
-
-