public class ClientError extends ApplicationError
TYPE_GENERIC_ERROR, TYPE_INVALID_PARAMETER_VALUE, TYPE_MALFORMED_REQUEST, TYPE_MISSING_PARAMETER, TYPE_PARAMETER_VALUE_NOT_NUMERIC| Constructor and Description |
|---|
ClientError()
Creates an instance of the client error object.
|
ClientError(short type,
java.lang.String errorKey,
java.lang.Object[] errorParameters,
java.lang.String resourceBundleName)
Creates an instance of the client error object.
|
ClientError(short type,
java.lang.String errorKey,
java.lang.String localizedMessage,
java.lang.Object[] errorParameters,
java.lang.String resourceBundleName,
java.lang.String errorCode)
Creates an instance of the client error object.
|
getErrorCode, getErrorKey, getErrorParameters, getLocale, getLocalizedMessage, getLocalizedMessage, getType, setErrorCode, setErrorKey, setErrorParameters, setLocale, setLocalizedMessage, setType, toStringpublic ClientError()
public ClientError(short type,
java.lang.String errorKey,
java.lang.Object[] errorParameters,
java.lang.String resourceBundleName)
type - The type of error that is being reported. Refer to the constants
defined in this class.errorKey - The error key associated with the error.errorParameters - The error parameters to associated with the key.resourceBundleName - The name of the resource bundle to find the key.public ClientError(short type,
java.lang.String errorKey,
java.lang.String localizedMessage,
java.lang.Object[] errorParameters,
java.lang.String resourceBundleName,
java.lang.String errorCode)
type - The type of error that is being reported. Refer to the constants
defined in this class.errorKey - The error key associated with the error.localizedMessage - The localized error message associated with the error.errorParameters - The error parameters to associated with the key.resourceBundleName - The name of the resource bundle to find the key.errorCode - The error code to associate with the key.