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 Description static MessageReferenceCOMMON-
Fields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
errorCode, messageReference
-
-
Constructor Summary
Constructors Constructor Description ExceptionVisitExpression()ExceptionVisitExpression(MessageReference messageReference)CreateExceptionVisitExpressionwith givenMessageReference.ExceptionVisitExpression(MessageReference message, Throwable cause)CreateExceptionVisitExpressionwith givenMessageReferenceand causeThrowablewhich caused thisExceptionVisitExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonExpressiongetFilterTree()Get 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, 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
-
-
-
-
Field Detail
-
COMMON
public static final MessageReference COMMON
-
-
Constructor Detail
-
ExceptionVisitExpression
public ExceptionVisitExpression()
-
ExceptionVisitExpression
public ExceptionVisitExpression(MessageReference messageReference)
CreateExceptionVisitExpressionwith givenMessageReference.- Parameters:
messageReference- references the message text (and additional values) of thisExceptionVisitExpression
-
ExceptionVisitExpression
public ExceptionVisitExpression(MessageReference message, Throwable cause)
CreateExceptionVisitExpressionwith givenMessageReferenceand causeThrowablewhich caused thisExceptionVisitExpression.- Parameters:
message- references the message text (and additional values) of thisExceptionVisitExpressioncause- exception which caused thisExceptionVisitExpression
-
-
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
-
-