Package | Description |
---|---|
org.apache.olingo.odata2.api.batch | |
org.apache.olingo.odata2.api.edm |
Entity Data Model API
|
org.apache.olingo.odata2.api.ep |
Entity Provider
|
org.apache.olingo.odata2.api.exception |
Exception Classes used in the OData library as well as the implementing application
|
org.apache.olingo.odata2.api.uri |
URI Parser Facade
|
org.apache.olingo.odata2.api.uri.expression |
Expression Parser
|
org.apache.olingo.odata2.jpa.processor.api.exception |
OData JPA Processor API Library - Exceptions
|
Modifier and Type | Field and Description |
---|---|
static MessageReference |
BatchException.INVALID_ACCEPT_HEADER
INVALID_ACCEPT_HEADER requires 1 content value ('header')
|
static MessageReference |
BatchException.INVALID_ACCEPT_LANGUAGE_HEADER
INVALID_ACCEPT_LANGUAGE_HEADER requires 1 content value ('header')
|
static MessageReference |
BatchException.INVALID_BODY_FOR_REQUEST
INVALID_BODY_FOR_REQUEST requires 1 content value ('line number')
|
static MessageReference |
BatchException.INVALID_BOUNDARY
INVALID_BOUNDARY requires 1 content value('line number')
|
static MessageReference |
BatchException.INVALID_BOUNDARY_DELIMITER
INVALID_BOUNDARY_DELIMITER requires 1 content value ('line number')
|
static MessageReference |
BatchException.INVALID_CHANGESET_BOUNDARY
INVALID_CHANGESET_BOUNDARY requires 1 content value ('line number')
|
static MessageReference |
BatchException.INVALID_CHANGESET_METHOD
INVALID_CHANGESET_METHOD requires 1 content value ('line number')
|
static MessageReference |
BatchException.INVALID_CONTENT_TRANSFER_ENCODING
INVALID_CONTENT_TRANSFER_ENCODING requires 1 content value
|
static MessageReference |
BatchException.INVALID_CONTENT_TYPE
INVALID_CONTENT_TYPE requires 1 content value ('required content-type')
|
static MessageReference |
BatchException.INVALID_HEADER
INVALID_HEADER requires 1 content value ('header', 'line number')
|
static MessageReference |
BatchException.INVALID_PATHINFO
INVALID_PATHINFO requires no content value
|
static MessageReference |
BatchException.INVALID_QUERY_OPERATION_METHOD
INVALID_QUERY_OPERATION_METHOD requires 1 content value ('line number')
|
static MessageReference |
BatchException.INVALID_QUERY_PARAMETER
INVALID_QUERY_PARAMETER requires no content value
|
static MessageReference |
BatchException.INVALID_REQUEST_LINE
INVALID_REQUEST_LINE requires 2 content value ('request line', 'line number')
|
static MessageReference |
BatchException.INVALID_STATUS_LINE
INVALID_STATUS_LINE requires 2 content value ('status line', 'line number')
|
static MessageReference |
BatchException.INVALID_URI
INVALID_URI requires 1 content value('line number')
|
static MessageReference |
BatchException.MISSING_BLANK_LINE
MISSING_BLANK_LINE requires 2 content value ('supplied line','line number')
|
static MessageReference |
BatchException.MISSING_BOUNDARY_DELIMITER
MISSING_BOUNDARY_DELIMITER requires 1 content value('line number')
|
static MessageReference |
BatchException.MISSING_CLOSE_DELIMITER
MISSING_CLOSE_DELIMITER requires 1 content value ('line number')
|
static MessageReference |
BatchException.MISSING_CONTENT_TYPE
MISSING_CONTENT_TYPE requires no content value
|
static MessageReference |
BatchException.MISSING_MANDATORY_HEADER
MISSONG MANDATORY HEADER requires 1 content value ('header name')
|
static MessageReference |
BatchException.MISSING_METHOD
MISSING_METHOD requires 1 content value ('request line')
|
static MessageReference |
BatchException.MISSING_PARAMETER_IN_CONTENT_TYPE
MISSING_PARAMETER_IN_CONTENT_TYPE requires no content value
|
static MessageReference |
BatchException.NO_MATCH_WITH_BOUNDARY_STRING
NO_MATCH_WITH_BOUNDARY_STRING requires 2 content value ('required boundary', 'line number')
|
static MessageReference |
BatchException.TRUNCATED_BODY
TRUNCETED_BODY requires 1 content value ('line number')
|
static MessageReference |
BatchException.UNSUPPORTED_ABSOLUTE_PATH
UNSUPPORTED_ABSOLUTE_PATH requires 1 content value ('line number')
|
Constructor and Description |
---|
BatchException(MessageReference messageReference) |
BatchException(MessageReference messageReference,
String errorCode) |
BatchException(MessageReference messageReference,
Throwable cause) |
BatchException(MessageReference messageReference,
Throwable cause,
String errorCode) |
Modifier and Type | Method and Description |
---|---|
static MessageReference |
EdmSimpleTypeException.getMessageReference(MessageReference messageReference) |
Modifier and Type | Method and Description |
---|---|
static MessageReference |
EdmSimpleTypeException.getMessageReference(MessageReference messageReference) |
Constructor and Description |
---|
EdmException(MessageReference messageReference) |
EdmException(MessageReference messageReference,
String errorCode) |
EdmException(MessageReference messageReference,
Throwable cause) |
EdmException(MessageReference messageReference,
Throwable cause,
String errorCode) |
EdmLiteralException(MessageReference MessageReference) |
EdmLiteralException(MessageReference MessageReference,
String errorCode) |
EdmLiteralException(MessageReference messageReference,
Throwable cause) |
EdmLiteralException(MessageReference messageReference,
Throwable cause,
String errorCode) |
EdmSimpleTypeException(MessageReference messageReference) |
EdmSimpleTypeException(MessageReference messageReference,
String errorCode) |
EdmSimpleTypeException(MessageReference messageReference,
Throwable cause) |
EdmSimpleTypeException(MessageReference messageReference,
Throwable cause,
String errorCode) |
Modifier and Type | Field and Description |
---|---|
static MessageReference |
EntityProviderException.COMMON
INVALID_STATE requires no content value
|
static MessageReference |
EntityProviderException.DOUBLE_PROPERTY
DOUBLE_PROPERTY requires 1 content value ('double tag/property')
|
static MessageReference |
EntityProviderException.END_DOCUMENT_EXPECTED
END_DOCUMENT_EXPECTED requires 1 content value ('actual token')
|
static MessageReference |
EntityProviderException.EXCEPTION_OCCURRED
EXCEPTION_OCCURRED requires 1 content value ('exception name')
|
static MessageReference |
EntityProviderException.EXPANDNOTSUPPORTED |
static MessageReference |
EntityProviderException.ILLEGAL_ARGUMENT
ILLEGAL_ARGUMENT requires 1 content value ('message')
|
static MessageReference |
EntityProviderException.INLINECOUNT_INVALID |
static MessageReference |
EntityProviderException.INVALID_COMPLEX_TYPE
INVALID_COMPLEX_TYPE requires 2 content values ('supplied complex type' and 'content complex type')
|
static MessageReference |
EntityProviderException.INVALID_CONTENT
INVALID_CONTENT requires 2 content values ('invalid tag' and 'parent tag')
|
static MessageReference |
EntityProviderException.INVALID_DELETED_ENTRY_METADATA |
static MessageReference |
EntityProviderException.INVALID_ENTITYTYPE
INVALID_ENTITYTYPE requires 2 content values ('supplied entity type' and 'content entity type')
|
static MessageReference |
EntityProviderException.INVALID_INLINE_CONTENT
INVALID_INLINE_CONTENT requires 1 content value ('invalid inline message')
|
static MessageReference |
EntityProviderException.INVALID_MAPPING
INVALIDMAPPING requires 1 content value ('propertyName')
|
static MessageReference |
EntityProviderException.INVALID_NAMESPACE
INVALID_NAMESPACE requires 1 content value ('invalid tag/namespace')
|
static MessageReference |
EntityProviderException.INVALID_PARENT_TAG
INVALID_PARENT_TAG requires 2 content values ('expected parent tag' and 'found parent tag')
|
static MessageReference |
EntityProviderException.INVALID_PROPERTY
INVALID_PROPERTY requires 1 content value ('invalid property name')
|
static MessageReference |
EntityProviderException.INVALID_PROPERTY_VALUE
INVALID_PROPERTY_VALUE requires 1 content value ('invalid value')
|
static MessageReference |
EntityProviderException.INVALID_STATE
INVALID_STATE requires 1 content value ('message')
|
static MessageReference |
EntityProviderException.MEDIA_DATA_NOT_INITIAL
MEDIA_DATA_NOT_INITIAL requires no content value
|
static MessageReference |
EntityProviderException.MISSING_ATTRIBUTE
INVALID_PARENT_TAG requires 2 content values ('missing attribute name' and 'tag name')
|
static MessageReference |
EntityProviderException.MISSING_PROPERTY
MISSING_PROPERTY requires 1 content value ('invalid value')
|
static MessageReference |
EntityProviderException.MISSING_RESULTS_ARRAY
MISSING_RESULTS_ARRAY requires no content value
|
static MessageReference |
EntityProviderException.MISSING_TAG
MISSING_TAG requires 1 content values ('tag name')
|
static MessageReference |
EntityProviderException.NOT_SET_CHARACTER_ENCODING
NOT_SET_CHARACTER_ENCODING requires no content value
|
static MessageReference |
EntityProviderException.UNSUPPORTED_CHARACTER_ENCODING
UNSUPPORTED_CHARACTER_ENCODING requires 1 content value ('found but unsupported character encoding')
|
static MessageReference |
EntityProviderException.UNSUPPORTED_PROPERTY_TYPE
UNSUPPORTED_PROPERTY_TYPE requires 1 content values ('property type')
|
Constructor and Description |
---|
EntityProviderException(MessageReference messageReference) |
EntityProviderException(MessageReference messageReference,
String errorCode) |
EntityProviderException(MessageReference messageReference,
Throwable cause) |
EntityProviderException(MessageReference messageReference,
Throwable cause,
String errorCode) |
Modifier and Type | Field and Description |
---|---|
static MessageReference |
ODataBadRequestException.AMBIGUOUS_XMETHOD |
static MessageReference |
ODataBadRequestException.BODY |
static MessageReference |
ODataServiceUnavailableException.COMMON |
static MessageReference |
ODataPreconditionRequiredException.COMMON |
static MessageReference |
ODataPreconditionFailedException.COMMON |
static MessageReference |
ODataNotImplementedException.COMMON |
static MessageReference |
ODataNotAcceptableException.COMMON |
static MessageReference |
ODataMessageException.COMMON
Reference to common message for a
ODataMessageException |
static MessageReference |
ODataHttpException.COMMON |
static MessageReference |
ODataForbiddenException.COMMON |
static MessageReference |
ODataConflictException.COMMON |
static MessageReference |
ODataBadRequestException.COMMON |
static MessageReference |
ODataMethodNotAllowedException.DISPATCH |
static MessageReference |
ODataNotFoundException.ENTITY |
static MessageReference |
ODataBadRequestException.INVALID_HEADER
INVALID_HEADER requires 2 content values ('header key' and 'header value')
|
static MessageReference |
ODataBadRequestException.INVALID_REQUEST
INVALID_REQUEST requires NO content values
|
static MessageReference |
ODataBadRequestException.INVALID_SYNTAX
INVALID_SYNTAX requires NO content values
|
static MessageReference |
ODataNotFoundException.MATRIX |
protected MessageReference |
ODataMessageException.messageReference
Message reference for exception which is used for internationalization
|
static MessageReference |
ODataInternalServerErrorException.NOSERVICE |
static MessageReference |
ODataUnsupportedMediaTypeException.NOT_SUPPORTED
NOT_SUPPORTED requires 1 content value ('media type')
|
static MessageReference |
ODataUnsupportedMediaTypeException.NOT_SUPPORTED_ACCEPT_HEADER
NOT_SUPPORTED_ACCEPT_HEADER requires 1 content value ('media type')
|
static MessageReference |
ODataNotAcceptableException.NOT_SUPPORTED_ACCEPT_HEADER |
static MessageReference |
ODataUnsupportedMediaTypeException.NOT_SUPPORTED_CONTENT_TYPE
NOT_SUPPORTED_CONTENT_TYPE requires 1 content value ('media type')
|
static MessageReference |
ODataNotAcceptableException.NOT_SUPPORTED_CONTENT_TYPE |
static MessageReference |
ODataBadRequestException.NOTSUPPORTED |
static MessageReference |
ODataBadRequestException.PARSEVERSIONERROR |
static MessageReference |
ODataNotImplementedException.TUNNELING |
static MessageReference |
ODataBadRequestException.URLTOOSHORT |
static MessageReference |
ODataBadRequestException.VERSIONERROR |
Modifier and Type | Method and Description |
---|---|
MessageReference |
MessageReference.addContent(Object... content)
Adds given content to message reference.
|
MessageReference |
MessageReference.create() |
static MessageReference |
MessageReference.create(Class<? extends ODataException> clazz,
String key)
|
protected static MessageReference |
ODataMessageException.createMessageReference(Class<? extends ODataMessageException> clazz,
String messageReferenceKey)
Creates
MessageReference objects more conveniently. |
MessageReference |
ODataMessageException.getMessageReference()
Gets the related
MessageReference . |
MessageReference |
MessageReference.updateContent(List<?> oldContent,
Object... newContent) |
Constructor and Description |
---|
UriNotMatchingException(MessageReference messageReference) |
UriNotMatchingException(MessageReference messageReference,
String errorCode) |
UriNotMatchingException(MessageReference messageReference,
Throwable cause) |
UriNotMatchingException(MessageReference messageReference,
Throwable cause,
String errorCode) |
UriSyntaxException(MessageReference MessageReference) |
UriSyntaxException(MessageReference MessageReference,
String errorCode) |
UriSyntaxException(MessageReference messageReference,
Throwable cause) |
UriSyntaxException(MessageReference messageReference,
Throwable cause,
String errorCode) |
Constructor and Description |
---|
ExceptionVisitExpression(MessageReference messageReference)
Create
ExceptionVisitExpression with given MessageReference . |
ExceptionVisitExpression(MessageReference message,
Throwable cause)
Create
ExceptionVisitExpression with given MessageReference and cause Throwable which
caused
this ExceptionVisitExpression . |
ExpressionParserException(MessageReference messageReference)
Create
ExpressionParserException with given MessageReference . |
ExpressionParserException(MessageReference messageReference,
Throwable cause)
Create
ExpressionParserException with given MessageReference and cause Throwable which
caused
this ExpressionParserException . |
Modifier and Type | Method and Description |
---|---|
protected static MessageReference |
ODataJPAException.createMessageReference(Class<? extends ODataJPAException> clazz,
String messageReferenceKey)
The method creates a Reference to Message Object
MessageReference . |
MessageReference |
ODataJPAException.getMessageReference() |
Modifier and Type | Method and Description |
---|---|
String |
ODataJPAMessageService.getLocalizedMessage(MessageReference context,
Throwable exception)
The method returns a language dependent message texts for the given
MessageReference . |
static ODataJPARuntimeException |
ODataJPARuntimeException.throwException(MessageReference messageReference,
Throwable e)
The method creates an exception object of type ODataJPARuntimeException
with localized error texts.
|
static ODataJPAModelException |
ODataJPAModelException.throwException(MessageReference messageReference,
Throwable e)
The method creates an exception object of type ODataJPAModelException
with localized error texts.
|
Constructor and Description |
---|
ODataJPAException(String localizedMessage,
Throwable e,
MessageReference msgRef) |
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.