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 ErrorInterfacepublic java.lang.String getLabel()
getLabel in interface ErrorInterfacepublic java.lang.String getMessage()
getMessage in interface ErrorInterfacepublic java.lang.String getException()
getException in interface ErrorInterfacepublic void setErrorHelper(ErrorHelper helper)
setErrorHelper in interface ErrorInterfacepublic void setApplicationErrorCode(ErrorHelper.ErrorCode code)
setApplicationErrorCode in interface ErrorInterfacepublic ErrorHelper.ErrorCode getApplicationErrorCode()
getApplicationErrorCode in interface ErrorInterfacepublic boolean isServiceError()
isServiceError in interface ErrorInterfacepublic ServiceError getServiceError()
getServiceError in interface ErrorInterface