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