Package | Description |
---|---|
org.apache.olingo.odata2.api.exception |
Exception Classes used in the OData library as well as the implementing application
APPLICATION DEVELOPERS: Please use
ODataApplicationException for
custom exceptions. |
org.apache.olingo.odata2.api.uri |
URI Parser Facade
The URI package has one central class
UriParser to parse a request URI
as well as several interfaces that provide access to parsed parts of the URI. |
org.apache.olingo.odata2.api.uri.expression |
Expression Parser
This package contains all classes necessary to decribe an expression tree(e.g. a filter or order by tree)
Trees can be traversed by implementing the
ExpressionVisitor
interface and calling the accept() method. |
Modifier and Type | Class and Description |
---|---|
class |
ODataBadRequestException
Exceptions of this class will result in a HTTP status 400 bad request
|
class |
ODataConflictException
Exceptions of this class will result in a HTTP status 409 Conflict
|
class |
ODataForbiddenException
Exceptions of this class will result in a HTTP status 403 forbidden
|
class |
ODataInternalServerErrorException |
class |
ODataMethodNotAllowedException
Exceptions of this class will result in a HTTP status 405 (method not allowed).
|
class |
ODataNotAcceptableException
Exceptions of this class will result in a HTTP status 406 not acceptable
|
class |
ODataNotFoundException
Exceptions of this class will result in a HTTP status 404 not found
|
class |
ODataNotImplementedException
Exceptions of this class will result in a HTTP status 501 (Not implemented).
|
class |
ODataPreconditionFailedException
Exceptions of this class will result in a HTTP Status 412 Precondition Failed.
|
class |
ODataPreconditionRequiredException
Exceptions of this class will result in a HTTP status 428 precondition required
|
class |
ODataServiceUnavailableException
Exceptions of this class will result in a HTTP status 503 service unavailable
|
class |
ODataUnsupportedMediaTypeException
Exceptions of this class will result in a HTTP status 415 unsupported media type
|
Modifier and Type | Method and Description |
---|---|
ODataHttpException |
ODataException.getHttpExceptionCause()
Search for and return first (from top)
ODataHttpException in the cause hierarchy. |
Modifier and Type | Class and Description |
---|---|
class |
UriNotMatchingException
URI-parsing exception resulting in a 404 Not Found response.
|
class |
UriSyntaxException
Exception for violation of the OData URI construction rules,
resulting in a 400 Bad Request response.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpressionParserException
Exception thrown while parsing a filter or orderby expression
|
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.