org.apache.olingo.odata2.api.edm

## Class EdmException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.olingo.odata2.api.exception.ODataException
      - - org.apache.olingo.odata2.api.exception.ODataMessageException
        - - org.apache.olingo.odata2.api.edm.EdmException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    EdmLiteralException, EdmSimpleTypeException

      public class EdmException
      extends ODataMessageException

  See Also:
    Serialized Form
  Do not implement this interface or derive from class.
    An exception for problems regarding the Entity Data Model.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static MessageReference` | `ASSOCIATIONNOTFOUND`
    `static MessageReference` | `COMMON`
    `static MessageReference` | `ENTITYTYPEPROBLEM`
    `static MessageReference` | `MUSTBENAVIGATIONPROPERTY`
    `static MessageReference` | `MUSTBEPROPERTY`
    `static MessageReference` | `NAMINGERROR`
    `static MessageReference` | `NAVIGATIONPROPERTYNOTFOUND`
    `static MessageReference` | `PROPERTYNOTFOUND`
    `static MessageReference` | `PROVIDERPROBLEM`
    `static MessageReference` | `TYPEPROBLEM`

    - ### Fields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException

      `errorCode, messageReference`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EdmException(MessageReference messageReference)`
    `EdmException(MessageReference messageReference, String errorCode)`
    `EdmException(MessageReference messageReference, Throwable cause)`
    `EdmException(MessageReference messageReference, Throwable cause, String errorCode)`

  - ### Method Summary

    - ### Methods inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException

      `createMessageReference, getErrorCode, getMessage, getMessageReference`

    - ### Methods inherited from class org.apache.olingo.odata2.api.exception.ODataException

      `getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageException`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### COMMON

          public static final MessageReference COMMON

    - #### PROVIDERPROBLEM

          public static final MessageReference PROVIDERPROBLEM

    - #### PROPERTYNOTFOUND

          public static final MessageReference PROPERTYNOTFOUND

    - #### NAVIGATIONPROPERTYNOTFOUND

          public static final MessageReference NAVIGATIONPROPERTYNOTFOUND

    - #### MUSTBENAVIGATIONPROPERTY

          public static final MessageReference MUSTBENAVIGATIONPROPERTY

    - #### MUSTBEPROPERTY

          public static final MessageReference MUSTBEPROPERTY

    - #### NAMINGERROR

          public static final MessageReference NAMINGERROR

    - #### TYPEPROBLEM

          public static final MessageReference TYPEPROBLEM

    - #### ENTITYTYPEPROBLEM

          public static final MessageReference ENTITYTYPEPROBLEM

    - #### ASSOCIATIONNOTFOUND

          public static final MessageReference ASSOCIATIONNOTFOUND

  - ### Constructor Detail

    - #### EdmException

          public EdmException(MessageReference messageReference)

    - #### EdmException

          public EdmException(MessageReference messageReference,
                              Throwable cause)

    - #### EdmException

          public EdmException(MessageReference messageReference,
                              String errorCode)

    - #### EdmException

          public EdmException(MessageReference messageReference,
                              Throwable cause,
                              String errorCode)

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