com.indexdata.mkjsf.errors
Class ConfigurationError

java.lang.Object
  extended by com.indexdata.mkjsf.errors.ConfigurationError
All Implemented Interfaces:
ErrorInterface, Serializable

public class ConfigurationError
extends Object
implements ErrorInterface

See Also:
Serialized Form

Constructor Summary
ConfigurationError(String label, String exception, String message)
           
 
Method Summary
 ErrorHelper.ErrorCode getApplicationErrorCode()
           
 String getException()
           
 String getLabel()
           
 String getMessage()
           
 ServiceError getServiceError()
           
 List<String> getSuggestions()
           
 boolean isServiceError()
           
 void setApplicationErrorCode(ErrorHelper.ErrorCode code)
           
 void setErrorHelper(ErrorHelper helper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationError

public ConfigurationError(String label,
                          String exception,
                          String message)
Method Detail

getSuggestions

public List<String> getSuggestions()
Specified by:
getSuggestions in interface ErrorInterface

getLabel

public String getLabel()
Specified by:
getLabel in interface ErrorInterface

getMessage

public String getMessage()
Specified by:
getMessage in interface ErrorInterface

getException

public String getException()
Specified by:
getException in interface ErrorInterface

setErrorHelper

public void setErrorHelper(ErrorHelper helper)
Specified by:
setErrorHelper in interface ErrorInterface

setApplicationErrorCode

public void setApplicationErrorCode(ErrorHelper.ErrorCode code)
Specified by:
setApplicationErrorCode in interface ErrorInterface

getApplicationErrorCode

public ErrorHelper.ErrorCode getApplicationErrorCode()
Specified by:
getApplicationErrorCode in interface ErrorInterface

isServiceError

public boolean isServiceError()
Specified by:
isServiceError in interface ErrorInterface

getServiceError

public ServiceError getServiceError()
Specified by:
getServiceError in interface ErrorInterface


Copyright © 2013. All Rights Reserved.