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
Exception thrown while traversing/visiting a filter expression tree
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
errorCode, messageReference -
Constructor Summary
ConstructorsConstructorDescriptionExceptionVisitExpression(MessageReference messageReference) CreateExceptionVisitExpressionwith givenMessageReference.ExceptionVisitExpression(MessageReference message, Throwable cause) CreateExceptionVisitExpressionwith givenMessageReferenceand causeThrowablewhich caused thisExceptionVisitExpression. -
Method Summary
Modifier and TypeMethodDescriptionGet erroneous filter for debug informationvoidsetFilterTree(CommonExpression filterTree) Sets erroneous filter tree for debug information.Methods inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
createMessageReference, getErrorCode, getMessage, getMessageReferenceMethods inherited from class org.apache.olingo.odata2.api.exception.ODataException
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
COMMON
-
-
Constructor Details
-
ExceptionVisitExpression
public ExceptionVisitExpression() -
ExceptionVisitExpression
CreateExceptionVisitExpressionwith givenMessageReference.- Parameters:
messageReference- references the message text (and additional values) of thisExceptionVisitExpression
-
ExceptionVisitExpression
CreateExceptionVisitExpressionwith givenMessageReferenceand causeThrowablewhich caused thisExceptionVisitExpression.- Parameters:
message- references the message text (and additional values) of thisExceptionVisitExpressioncause- exception which caused thisExceptionVisitExpression
-
-
Method Details
-
getFilterTree
Get erroneous filter for debug information- Returns:
- Erroneous filter tree
-
setFilterTree
Sets erroneous filter tree for debug information.- Parameters:
filterTree- Erroneous filter tree
-