public class PreconditionException extends ODataLibraryException
| Modifier and Type | Class and Description |
|---|---|
static class |
PreconditionException.MessageKeys |
ODataLibraryException.MessageKey, ODataLibraryException.ODataErrorMessageDEFAULT_SERVER_BUNDLE_NAME| Constructor and Description |
|---|
PreconditionException(String developmentMessage,
ODataLibraryException.MessageKey messageKey,
String... parameters) |
PreconditionException(String developmentMessage,
Throwable cause,
ODataLibraryException.MessageKey messageKey,
String... parameters) |
| 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 PreconditionException(String developmentMessage, ODataLibraryException.MessageKey messageKey, String... parameters)
public PreconditionException(String developmentMessage, Throwable cause, ODataLibraryException.MessageKey messageKey, String... parameters)
protected 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.