public class ODataJPAModelException extends ODataJPAException
| Modifier and Type | Field and Description |
|---|---|
static MessageReference |
BUILDER_NULL |
static MessageReference |
FUNC_ENTITYSET_EXP |
static MessageReference |
FUNC_PARAM_NAME_EXP |
static MessageReference |
FUNC_RETURN_TYPE_ENTITY_NOT_FOUND |
static MessageReference |
FUNC_RETURN_TYPE_EXP |
static MessageReference |
GENERAL |
static MessageReference |
INNER_EXCEPTION |
static MessageReference |
INVALID_ASSOCIATION |
static MessageReference |
INVALID_ASSOCIATION_SET |
static MessageReference |
INVALID_COMPLEX_TYPE |
static MessageReference |
INVALID_ENTITY_TYPE |
static MessageReference |
INVALID_ENTITYCONTAINER |
static MessageReference |
INVALID_ENTITYSET |
static MessageReference |
INVALID_FUNC_IMPORT |
static MessageReference |
REF_ATTRIBUTE_NOT_FOUND |
static MessageReference |
TYPE_NOT_SUPPORTED |
DEFAULT_LOCALE, messageReference, ODATA_JPACTX_NULL| Modifier and Type | Method and Description |
|---|---|
static ODataJPAModelException |
throwException(MessageReference messageReference,
Throwable e)
The method creates an exception object of type ODataJPAModelException
with localized error texts.
|
createMessageReference, getMessageReferencegetApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final MessageReference INVALID_ENTITY_TYPE
public static final MessageReference INVALID_COMPLEX_TYPE
public static final MessageReference INVALID_ASSOCIATION
public static final MessageReference INVALID_ENTITYSET
public static final MessageReference INVALID_ENTITYCONTAINER
public static final MessageReference INVALID_ASSOCIATION_SET
public static final MessageReference INVALID_FUNC_IMPORT
public static final MessageReference BUILDER_NULL
public static final MessageReference TYPE_NOT_SUPPORTED
public static final MessageReference FUNC_ENTITYSET_EXP
public static final MessageReference FUNC_RETURN_TYPE_EXP
public static final MessageReference FUNC_RETURN_TYPE_ENTITY_NOT_FOUND
public static final MessageReference GENERAL
public static final MessageReference INNER_EXCEPTION
public static final MessageReference FUNC_PARAM_NAME_EXP
public static final MessageReference REF_ATTRIBUTE_NOT_FOUND
public static ODataJPAModelException 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 stackODataJPARuntimeExceptionCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.