public class SerializerException extends ODataLibraryException
ODataSerializer.| Modifier and Type | Class and Description | 
|---|---|
| static class  | SerializerException.MessageKeysKeys for exception texts in the resource bundle. | 
ODataLibraryException.MessageKey, ODataLibraryException.ODataErrorMessageDEFAULT_SERVER_BUNDLE_NAME| Constructor and Description | 
|---|
| SerializerException(String developmentMessage,
                   ODataLibraryException.MessageKey messageKey,
                   String... parameters)Creates serializer exception. | 
| SerializerException(String developmentMessage,
                   Throwable cause,
                   ODataLibraryException.MessageKey messageKey,
                   String... parameters)Creates serializer exception. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getBundleName()Gets the name of the  ResourceBundlecontaining the exception texts. | 
getLocalizedMessage, getMessageKey, getTranslatedMessage, toStringaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic SerializerException(String developmentMessage, ODataLibraryException.MessageKey messageKey, String... parameters)
developmentMessage - message text as fallback and for debugging purposesmessageKey - one of the SerializerException.MessageKeys for the exception text in the resource bundleparameters - parameters for the exception textpublic SerializerException(String developmentMessage, Throwable cause, ODataLibraryException.MessageKey messageKey, String... parameters)
developmentMessage - message text as fallback and for debugging purposescause - the cause of this exceptionmessageKey - one of the SerializerException.MessageKeys for the exception text in the resource bundleparameters - parameters for the exception textprotected String getBundleName()
ODataLibraryExceptionGets 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 ODataLibraryException.MessageKey, separated by a dot.
getBundleName in class ODataLibraryExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.