Class ExpressionParserException
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.exception.ODataHttpException
org.apache.olingo.odata2.api.exception.ODataBadRequestException
org.apache.olingo.odata2.api.uri.expression.ExpressionParserException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FilterParserExceptionImpl
Exception thrown while parsing a filter or orderby expression
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferenceFields inherited from class org.apache.olingo.odata2.api.exception.ODataBadRequestException
AMBIGUOUS_XMETHOD, BODY, COMMON, INVALID_HEADER, INVALID_REQUEST, INVALID_SYNTAX, NOTSUPPORTED, PARSEVERSIONERROR, URLTOOSHORT, VERSIONERRORFields inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
httpStatusFields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
errorCode, messageReference -
Constructor Summary
ConstructorsConstructorDescriptionExpressionParserException(MessageReference messageReference) CreateExpressionParserExceptionwith givenMessageReference.ExpressionParserException(MessageReference messageReference, Throwable cause) CreateExpressionParserExceptionwith givenMessageReferenceand causeThrowablewhich caused thisExpressionParserException. -
Method Summary
Modifier and TypeMethodDescriptionGets erroneous filter expression tree for debug information.voidsetFilterTree(CommonExpression filterTree) Sets erroneous filter tree for debug information.Methods inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
getHttpStatusMethods 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_ERROR
-
ERROR_IN_TOKENIZER
-
TOKEN_UNDETERMINATED_STRING
-
INVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING
-
EXPRESSION_EXPECTED_AFTER_POS
-
COMMA_OR_END_EXPECTED_AT_POS
-
EXPRESSION_EXPECTED_AT_POS
-
MISSING_CLOSING_PARENTHESIS
-
COMMA_OR_CLOSING_PARENTHESIS_EXPECTED_AFTER_POS
-
INVALID_METHOD_CALL
-
TYPE_EXPECTED_AT
-
METHOD_WRONG_ARG_EXACT
-
METHOD_WRONG_ARG_BETWEEN
-
METHOD_WRONG_ARG_X_OR_MORE
-
METHOD_WRONG_ARG_X_OR_LESS
-
METHOD_WRONG_INPUT_TYPE
-
LEFT_SIDE_NOT_STRUCTURAL_TYPE
-
LEFT_SIDE_NOT_A_PROPERTY
-
PROPERTY_NAME_NOT_FOUND_IN_TYPE
-
INVALID_MULTIPLICITY
-
INVALID_TYPES_FOR_BINARY_OPERATOR
-
INVALID_SORT_ORDER
-
-
Constructor Details
-
ExpressionParserException
public ExpressionParserException() -
ExpressionParserException
CreateExpressionParserExceptionwith givenMessageReference.- Parameters:
messageReference- references the message text (and additional values) of thisExpressionParserException
-
ExpressionParserException
CreateExpressionParserExceptionwith givenMessageReferenceand causeThrowablewhich caused thisExpressionParserException.- Parameters:
messageReference- References the message text (and additional values) of thisExpressionParserExceptioncause- Exception which caused thisExpressionParserException
-
-
Method Details
-
getFilterTree
Gets erroneous filter expression tree for debug information.- Returns:
- erroneous filter tree
-
setFilterTree
Sets erroneous filter tree for debug information.- Parameters:
filterTree- filter tree to be set
-