Package org.apache.olingo.server.core
Class AcceptHeaderContentNegotiatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.olingo.commons.api.ex.ODataException
org.apache.olingo.server.api.ODataLibraryException
org.apache.olingo.server.core.ContentNegotiatorException
org.apache.olingo.server.core.AcceptHeaderContentNegotiatorException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.olingo.server.api.ODataLibraryException
ODataLibraryException.MessageKey, ODataLibraryException.ODataErrorMessage -
Field Summary
Fields inherited from class org.apache.olingo.server.api.ODataLibraryException
DEFAULT_SERVER_BUNDLE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionAcceptHeaderContentNegotiatorException(String developmentMessage, Throwable cause, ODataLibraryException.MessageKey messageKey, String... parameters) AcceptHeaderContentNegotiatorException(String developmentMessage, ODataLibraryException.MessageKey messageKey, String... parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGets the name of theResourceBundlecontaining the exception texts.Methods inherited from class org.apache.olingo.server.api.ODataLibraryException
getLocalizedMessage, getMessageKey, getTranslatedMessage, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AcceptHeaderContentNegotiatorException
public AcceptHeaderContentNegotiatorException(String developmentMessage, ODataLibraryException.MessageKey messageKey, String... parameters) -
AcceptHeaderContentNegotiatorException
public AcceptHeaderContentNegotiatorException(String developmentMessage, Throwable cause, ODataLibraryException.MessageKey messageKey, String... parameters)
-
-
Method Details
-
getBundleName
Description copied from class:ODataLibraryExceptionGets the name of the
ResourceBundlecontaining 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.- Overrides:
getBundleNamein classContentNegotiatorException- Returns:
- the name of the resource bundle
-