public class EntityProviderException extends ODataMessageException
EntityProviderException
is the base exception for all EntityProvider
related exceptions.
It extends the ODataMessageException
and provides several MessageReference
for specification of
the thrown exception.Modifier and Type | Field and Description |
---|---|
static MessageReference |
COMMON
INVALID_STATE requires no content value
|
static MessageReference |
DOUBLE_PROPERTY
DOUBLE_PROPERTY requires 1 content value ('double tag/property')
|
static MessageReference |
END_DOCUMENT_EXPECTED
END_DOCUMENT_EXPECTED requires 1 content value ('actual token')
|
static MessageReference |
EXCEPTION_OCCURRED
EXCEPTION_OCCURRED requires 1 content value ('exception name')
|
static MessageReference |
EXPANDNOTSUPPORTED |
static MessageReference |
ILLEGAL_ARGUMENT
ILLEGAL_ARGUMENT requires 1 content value ('message')
|
static MessageReference |
INLINECOUNT_INVALID |
static MessageReference |
INVALID_COMPLEX_TYPE
INVALID_COMPLEX_TYPE requires 2 content values ('supplied complex type' and 'content complex type')
|
static MessageReference |
INVALID_CONTENT
INVALID_CONTENT requires 2 content values ('invalid tag' and 'parent tag')
|
static MessageReference |
INVALID_DELETED_ENTRY_METADATA |
static MessageReference |
INVALID_ENTITYTYPE
INVALID_ENTITYTYPE requires 2 content values ('supplied entity type' and 'content entity type')
|
static MessageReference |
INVALID_INLINE_CONTENT
INVALID_INLINE_CONTENT requires 1 content value ('invalid inline message')
|
static MessageReference |
INVALID_MAPPING
INVALIDMAPPING requires 1 content value ('propertyName')
|
static MessageReference |
INVALID_NAMESPACE
INVALID_NAMESPACE requires 1 content value ('invalid tag/namespace')
|
static MessageReference |
INVALID_PARENT_TAG
INVALID_PARENT_TAG requires 2 content values ('expected parent tag' and 'found parent tag')
|
static MessageReference |
INVALID_PROPERTY
INVALID_PROPERTY requires 1 content value ('invalid property name')
|
static MessageReference |
INVALID_PROPERTY_VALUE
INVALID_PROPERTY_VALUE requires 1 content value ('invalid value')
|
static MessageReference |
INVALID_STATE
INVALID_STATE requires 1 content value ('message')
|
static MessageReference |
MEDIA_DATA_NOT_INITIAL
MEDIA_DATA_NOT_INITIAL requires no content value
|
static MessageReference |
MISSING_ATTRIBUTE
INVALID_PARENT_TAG requires 2 content values ('missing attribute name' and 'tag name')
|
static MessageReference |
MISSING_PROPERTY
MISSING_PROPERTY requires 1 content value ('invalid value')
|
static MessageReference |
MISSING_RESULTS_ARRAY
MISSING_RESULTS_ARRAY requires no content value
|
static MessageReference |
MISSING_TAG
MISSING_TAG requires 1 content values ('tag name')
|
static MessageReference |
NOT_SET_CHARACTER_ENCODING
NOT_SET_CHARACTER_ENCODING requires no content value
|
static MessageReference |
UNSUPPORTED_CHARACTER_ENCODING
UNSUPPORTED_CHARACTER_ENCODING requires 1 content value ('found but unsupported character encoding')
|
static MessageReference |
UNSUPPORTED_PROPERTY_TYPE
UNSUPPORTED_PROPERTY_TYPE requires 1 content values ('property type')
|
errorCode, messageReference
Constructor and Description |
---|
EntityProviderException(MessageReference messageReference) |
EntityProviderException(MessageReference messageReference,
String errorCode) |
EntityProviderException(MessageReference messageReference,
Throwable cause) |
EntityProviderException(MessageReference messageReference,
Throwable cause,
String errorCode) |
createMessageReference, getErrorCode, getMessage, getMessageReference
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final MessageReference COMMON
public static final MessageReference EXCEPTION_OCCURRED
public static final MessageReference INVALID_MAPPING
public static final MessageReference INVALID_ENTITYTYPE
public static final MessageReference INVALID_COMPLEX_TYPE
public static final MessageReference INVALID_CONTENT
public static final MessageReference INVALID_PROPERTY_VALUE
public static final MessageReference MISSING_PROPERTY
public static final MessageReference MISSING_ATTRIBUTE
public static final MessageReference MISSING_TAG
public static final MessageReference UNSUPPORTED_PROPERTY_TYPE
public static final MessageReference INLINECOUNT_INVALID
public static final MessageReference INVALID_STATE
public static final MessageReference INVALID_INLINE_CONTENT
public static final MessageReference INVALID_PROPERTY
public static final MessageReference ILLEGAL_ARGUMENT
public static final MessageReference INVALID_NAMESPACE
public static final MessageReference INVALID_PARENT_TAG
public static final MessageReference EXPANDNOTSUPPORTED
public static final MessageReference DOUBLE_PROPERTY
public static final MessageReference NOT_SET_CHARACTER_ENCODING
public static final MessageReference UNSUPPORTED_CHARACTER_ENCODING
public static final MessageReference MEDIA_DATA_NOT_INITIAL
public static final MessageReference END_DOCUMENT_EXPECTED
public static final MessageReference MISSING_RESULTS_ARRAY
public static final MessageReference INVALID_DELETED_ENTRY_METADATA
public EntityProviderException(MessageReference messageReference)
public EntityProviderException(MessageReference messageReference, Throwable cause)
public EntityProviderException(MessageReference messageReference, String errorCode)
public EntityProviderException(MessageReference messageReference, Throwable cause, String errorCode)
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.