public abstract class ODataJPAException extends ODataException
| Modifier and Type | Field and Description |
|---|---|
protected static Locale |
DEFAULT_LOCALE |
protected MessageReference |
messageReference |
static String |
ODATA_JPACTX_NULL |
| Modifier | Constructor and Description |
|---|---|
protected |
ODataJPAException(String localizedMessage,
Throwable e,
MessageReference msgRef) |
| Modifier and Type | Method and Description |
|---|---|
protected static MessageReference |
createMessageReference(Class<? extends ODataJPAException> clazz,
String messageReferenceKey)
The method creates a Reference to Message Object
MessageReference . |
MessageReference |
getMessageReference() |
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected MessageReference messageReference
public static final String ODATA_JPACTX_NULL
protected static final Locale DEFAULT_LOCALE
protected ODataJPAException(String localizedMessage, Throwable e, MessageReference msgRef)
protected static MessageReference createMessageReference(Class<? extends ODataJPAException> clazz, String messageReferenceKey)
MessageReference .
The message
text key is derived out of parameters clazz.messageReferenceKey.clazz - is name of the class extending ODataJPAExceptionmessageReferenceKey - is the key of the messageMessageReferencepublic MessageReference getMessageReference()
Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.