public class ODataJPARuntimeException extends ODataJPAException
DEFAULT_LOCALE, messageReference, ODATA_JPACTX_NULL
Modifier and Type | Method and Description |
---|---|
static ODataJPARuntimeException |
throwException(MessageReference messageReference,
Throwable e)
The method creates an exception object of type ODataJPARuntimeException
with localized error texts.
|
createMessageReference, getMessageReference
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final MessageReference ENTITY_MANAGER_NOT_INITIALIZED
public static final MessageReference RESOURCE_NOT_FOUND
public static final MessageReference GENERAL
public static final MessageReference INNER_EXCEPTION
public static final MessageReference JOIN_CLAUSE_EXPECTED
public static final MessageReference ERROR_JPQLCTXBLDR_CREATE
public static final MessageReference ERROR_ODATA_FILTER_CONDITION
public static final MessageReference ERROR_JPQL_QUERY_CREATE
public static final MessageReference ERROR_JPQL_CREATE_REQUEST
public static final MessageReference ERROR_JPQL_UPDATE_REQUEST
public static final MessageReference ERROR_JPQL_DELETE_REQUEST
public static final MessageReference ERROR_JPQL_KEY_VALUE
public static final MessageReference ERROR_JPQL_PARAM_VALUE
public static final MessageReference ERROR_JPQL_UNIQUE_CONSTRAINT
public static final MessageReference ERROR_JPQL_INTEGRITY_CONSTRAINT
public static final MessageReference RELATIONSHIP_INVALID
public static final MessageReference RESOURCE_X_NOT_FOUND
public static final MessageReference ERROR_JPA_BLOB_NULL
public static final MessageReference ERROR_JPA_CLOB_NULL
public static final MessageReference OPERATOR_EQ_NE_MISSING
public static final MessageReference FILTER_ON_NAVIGATION_NOT_SUPPORTED
public static ODataJPARuntimeException throwException(MessageReference messageReference, Throwable e)
messageReference
- is a mandatory parameter referring to a literal that
could be translated to localized error texts.e
- is an optional parameter representing the previous exception
in the call stackODataJPARuntimeException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.