## Uses of Class
org.apache.olingo.odata2.api.exception.ODataMessageException

- Packages that use ODataMessageException
  Package | Description
  --- | ---
  org.apache.olingo.odata2.api.batch |
  org.apache.olingo.odata2.api.edm | Entity Data Model API The Entity Data Model is described in the OData protocol specification as well as in the Conceptual Schema Definition for the OData Protocol.
  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.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.rt | Runtime Support Provides a mechanism for loading of implementation classes for interfaces.
  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.

- - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.batch

    Subclasses of ODataMessageException in org.apache.olingo.odata2.api.batch
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BatchException`

  - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.edm

    Subclasses of ODataMessageException in org.apache.olingo.odata2.api.edm
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EdmException`
    `class` | `EdmLiteralException`
    `class` | `EdmSimpleTypeException`

  - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.ep

    Subclasses of ODataMessageException in org.apache.olingo.odata2.api.ep
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EntityProviderException` An `EntityProviderException` is the base exception for all `EntityProvider` related exceptions.

  - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.exception

    Subclasses of ODataMessageException in org.apache.olingo.odata2.api.exception
    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` | `ODataHttpException` `ODataMessageException` with a HTTP status code.
    `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

    Methods in org.apache.olingo.odata2.api.exception that return ODataMessageException
    Modifier and Type | Method and Description
    --- | ---
    `ODataMessageException` | ODataException.`getMessageExceptionCause()` Search for and return first (from top) `ODataMessageException` in the cause hierarchy.

    Method parameters in org.apache.olingo.odata2.api.exception with type arguments of type ODataMessageException
    Modifier and Type | Method and Description
    --- | ---
    `protected static MessageReference` | ODataMessageException.`createMessageReference(Class<? extends ODataMessageException> clazz, String messageReferenceKey)` Creates `MessageReference` objects more conveniently.

  - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.rt

    Methods in org.apache.olingo.odata2.api.rt with parameters of type ODataMessageException
    Modifier and Type | Method and Description
    --- | ---
    `static String` | RuntimeDelegate.`extractExceptionMessage(ODataMessageException exception)` Extract message of `ODataMessageException` and return it as a string.
    `abstract String` | RuntimeDelegate.RuntimeDelegateInstance.`extractExceptionMessage(ODataMessageException exception)` Extract message of `ODataMessageException` and return it as a string.

  - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.uri

    Subclasses of ODataMessageException in org.apache.olingo.odata2.api.uri
    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.

    Methods in org.apache.olingo.odata2.api.uri that throw ODataMessageException
    Modifier and Type | Method and Description
    --- | ---
    `static FilterExpression` | UriParser.`parseFilter(Edm edm, EdmEntityType edmType, String expression)` Parses a $filter expression string and create an expression tree.
    `abstract FilterExpression` | UriParser.`parseFilterString(EdmEntityType edmType, String expression)` Parses a $filter expression string and create an expression tree.
    `static OrderByExpression` | UriParser.`parseOrderBy(Edm edm, EdmEntityType edmType, String expression)` Parses a $orderby expression string and creates an expression tree.
    `abstract OrderByExpression` | UriParser.`parseOrderByString(EdmEntityType edmType, String expression)` Parses a $orderby expression string and creates an expression tree.

  - ### Uses of ODataMessageException in org.apache.olingo.odata2.api.uri.expression

    Subclasses of ODataMessageException in org.apache.olingo.odata2.api.uri.expression
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ExceptionVisitExpression` Exception thrown while traversing/visiting a filter expression tree
    `class` | `ExpressionParserException` Exception thrown while parsing a filter or orderby expression

Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.