org.apache.olingo.odata2.api.uri.expression

## Class ExceptionVisitExpression

- 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.uri.expression.ExceptionVisitExpression

- All Implemented Interfaces:
    Serializable

      public class ExceptionVisitExpression
      extends ODataMessageException

  Exception thrown while traversing/visiting a filter expression tree
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static MessageReference` | `COMMON`

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

      `errorCode, messageReference`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExceptionVisitExpression()`
    `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`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CommonExpression` | `getFilterTree()` Get erroneous filter for debug information
    `void` | `setFilterTree(CommonExpression filterTree)` Sets erroneous filter tree for debug information.

    - ### 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

  - ### Constructor Detail

    - #### ExceptionVisitExpression

          public ExceptionVisitExpression()

    - #### ExceptionVisitExpression

          public ExceptionVisitExpression(MessageReference messageReference)

      Create `ExceptionVisitExpression` with given `MessageReference`.
      Parameters:
        `messageReference` - references the message text (and additional values) of this `ExceptionVisitExpression`

    - #### ExceptionVisitExpression

          public ExceptionVisitExpression(MessageReference message,
                                          Throwable cause)

      Create `ExceptionVisitExpression` with given `MessageReference` and cause `Throwable` which caused this `ExceptionVisitExpression`.
      Parameters:
        `message` - references the message text (and additional values) of this `ExceptionVisitExpression`
        `cause` - exception which caused this `ExceptionVisitExpression`

  - ### Method Detail

    - #### getFilterTree

          public CommonExpression getFilterTree()

      Get erroneous filter for debug information
      Returns:
        Erroneous filter tree

    - #### setFilterTree

          public void setFilterTree(CommonExpression filterTree)

      Sets erroneous filter tree for debug information.
      Parameters:
        `filterTree` - Erroneous filter tree

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