public class DeserializerException extends ODataTranslatedException
| Modifier and Type | Class and Description |
|---|---|
static class |
DeserializerException.MessageKeys
Keys for exception texts in the resource bundle.
|
ODataTranslatedException.MessageKey, ODataTranslatedException.ODataErrorMessageDEFAULT_SERVER_BUNDLE_NAME| Constructor and Description |
|---|
DeserializerException(String developmentMessage,
ODataTranslatedException.MessageKey messageKey,
String... parameters)
Creates deserializer exception.
|
DeserializerException(String developmentMessage,
Throwable cause,
ODataTranslatedException.MessageKey messageKey,
String... parameters)
Creates deserializer exception.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBundleName()
Gets the name of the
ResourceBundle containing the exception texts. |
getLocalizedMessage, getMessageKey, getTranslatedMessage, toStringaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic DeserializerException(String developmentMessage, ODataTranslatedException.MessageKey messageKey, String... parameters)
developmentMessage - message text as fallback and for debugging purposesmessageKey - one of the DeserializerException.MessageKeys for the exception text in the resource bundleparameters - parameters for the exception textpublic DeserializerException(String developmentMessage, Throwable cause, ODataTranslatedException.MessageKey messageKey, String... parameters)
developmentMessage - message text as fallback and for debugging purposescause - the cause of this exceptionmessageKey - one of the DeserializerException.MessageKeys for the exception text in the resource bundleparameters - parameters for the exception textprotected String getBundleName()
ODataTranslatedExceptionGets the name of the ResourceBundle containing the exception texts.
The key for an exception text is the concatenation of the exception-class name and
the ODataTranslatedException.MessageKey, separated by a dot.
getBundleName in class ODataTranslatedExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.