public class ErrorEventDefinition extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Comparator<ErrorEventDefinition> |
comparator |
protected String |
errorCode |
protected String |
errorCodeVariable |
protected String |
errorMessageVariable |
protected String |
handlerActivityId |
protected Integer |
precedence |
Constructor and Description |
---|
ErrorEventDefinition(String handlerActivityId) |
Modifier and Type | Method and 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) |
public static Comparator<ErrorEventDefinition> comparator
protected final String handlerActivityId
protected String errorCode
protected Integer precedence
protected String errorCodeVariable
protected String errorMessageVariable
public ErrorEventDefinition(String handlerActivityId)
public String getErrorCode()
public void setErrorCode(String errorCode)
public String getHandlerActivityId()
public Integer getPrecedence()
public void setPrecedence(Integer precedence)
public boolean catchesError(String errorCode)
public boolean catchesException(Exception ex)
public void setErrorCodeVariable(String errorCodeVariable)
public String getErrorCodeVariable()
public void setErrorMessageVariable(String errorMessageVariable)
public String getErrorMessageVariable()
Copyright © 2020. All rights reserved.