public class ConfigurationError extends java.lang.Object implements ErrorInterface
Constructor and Description |
---|
ConfigurationError(java.lang.String label,
java.lang.String exception,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
ErrorHelper.ErrorCode |
getApplicationErrorCode() |
java.lang.String |
getException() |
java.lang.String |
getLabel() |
java.lang.String |
getMessage() |
ServiceError |
getServiceError() |
java.util.List<java.lang.String> |
getSuggestions() |
boolean |
isServiceError() |
void |
setApplicationErrorCode(ErrorHelper.ErrorCode code) |
void |
setErrorHelper(ErrorHelper helper) |
public ConfigurationError(java.lang.String label, java.lang.String exception, java.lang.String message)
public java.util.List<java.lang.String> getSuggestions()
getSuggestions
in interface ErrorInterface
public java.lang.String getLabel()
getLabel
in interface ErrorInterface
public java.lang.String getMessage()
getMessage
in interface ErrorInterface
public java.lang.String getException()
getException
in interface ErrorInterface
public void setErrorHelper(ErrorHelper helper)
setErrorHelper
in interface ErrorInterface
public void setApplicationErrorCode(ErrorHelper.ErrorCode code)
setApplicationErrorCode
in interface ErrorInterface
public ErrorHelper.ErrorCode getApplicationErrorCode()
getApplicationErrorCode
in interface ErrorInterface
public boolean isServiceError()
isServiceError
in interface ErrorInterface
public ServiceError getServiceError()
getServiceError
in interface ErrorInterface