Package | Description |
---|---|
org.apache.olingo.odata2.api.ep |
Entity Provider
The org.apache.olingo.odata2.api.ep package contains all classes related and necessary to provide an
EntityProvider . |
org.apache.olingo.odata2.api.processor |
Data Processor
A data processor implements all create, read, update and delete (CRUD) methods of an OData service.
|
org.apache.olingo.odata2.client.api.ep | |
org.apache.olingo.odata2.client.core.ep | |
org.apache.olingo.odata2.client.core.ep.deserializer | |
org.apache.olingo.odata2.jpa.processor.api.exception |
OData JPA Processor API Library - Exceptions
There are two main types of exceptions thrown from the library
Model Exception
Runtime Exception
The Model Exception is thrown while processing JPA metamodels and runtime exception is thrown while processing persistence data. |
org.apache.olingo.odata2.ref.processor |
Modifier and Type | Method and Description |
---|---|
static ODataErrorContext |
EntityProvider.readErrorDocument(InputStream errorDocument,
String contentType)
Read (de-serialize) data from error document as
InputStream and provide according ODataErrorContext
. |
ODataErrorContext |
EntityProvider.EntityProviderInterface.readErrorDocument(InputStream errorDocument,
String contentType)
Read (de-serialize) data from error document as
InputStream and provide according
ODataErrorContext . |
Modifier and Type | Method and Description |
---|---|
static ODataResponse |
EntityProvider.writeErrorDocument(ODataErrorContext context)
Serializes an error message according to the OData standard.
|
ODataResponse |
EntityProvider.EntityProviderInterface.writeErrorDocument(ODataErrorContext context)
Serializes an error message according to the OData standard.
|
Modifier and Type | Method and Description |
---|---|
Collection<ODataErrorContext> |
ODataErrorContext.getErrorDetails()
Get a collection of detailed errors for a OData inner error to be returned in error response.
|
Modifier and Type | Method and Description |
---|---|
ODataResponse |
ODataErrorCallback.handleError(ODataErrorContext context)
This method can be used to handle an error differently than the exception mapper would.
|
Modifier and Type | Method and Description |
---|---|
void |
ODataErrorContext.setErrorDetails(Collection<ODataErrorContext> errorDetails)
Set a collection of detailed errors for a OData inner error to be returned in error response.
|
Modifier and Type | Method and Description |
---|---|
ODataErrorContext |
ContentTypeBasedDeserializer.readErrorDocument(InputStream errorDocument)
Read (de-serialize) data from error document as
InputStream and provide according
ODataErrorContext . |
Modifier and Type | Method and Description |
---|---|
ODataErrorContext |
JsonSerializerDeserializer.readErrorDocument(InputStream errorDocument) |
ODataErrorContext |
AtomSerializerDeserializer.readErrorDocument(InputStream errorDocument) |
Modifier and Type | Method and Description |
---|---|
ODataErrorContext |
XmlErrorDocumentDeserializer.readError(InputStream errorDocument)
Deserialize / read OData error document in ODataErrorContext.
|
ODataErrorContext |
JsonErrorDocumentDeserializer.readError(InputStream errorDocument)
Deserialize / read OData error document in ODataErrorContext.
|
Modifier and Type | Method and Description |
---|---|
ODataResponse |
ODataJPAErrorCallback.handleError(ODataErrorContext context) |
Modifier and Type | Method and Description |
---|---|
ODataResponse |
ScenarioErrorCallback.handleError(ODataErrorContext context) |
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.