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, isCausedByMessageException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected 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 ODataJPAException
messageReferenceKey
- is the key of the messageMessageReference
public MessageReference getMessageReference()
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.