org.apache.olingo.odata2.api.uri.expression
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
public class ExpressionParserException
- extends ODataBadRequestException
Exception thrown while parsing a filter or orderby expression
- See Also:
- Serialized Form
COMMON_ERROR
public static final MessageReference COMMON_ERROR
ERROR_IN_TOKENIZER
public static final MessageReference ERROR_IN_TOKENIZER
TOKEN_UNDETERMINATED_STRING
public static final MessageReference TOKEN_UNDETERMINATED_STRING
INVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING
public static final MessageReference INVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING
EXPRESSION_EXPECTED_AFTER_POS
public static final MessageReference EXPRESSION_EXPECTED_AFTER_POS
COMMA_OR_END_EXPECTED_AT_POS
public static final MessageReference COMMA_OR_END_EXPECTED_AT_POS
EXPRESSION_EXPECTED_AT_POS
public static final MessageReference EXPRESSION_EXPECTED_AT_POS
MISSING_CLOSING_PHARENTHESIS
public static final MessageReference MISSING_CLOSING_PHARENTHESIS
COMMA_OR_CLOSING_PHARENTHESIS_EXPECTED_AFTER_POS
public static final MessageReference COMMA_OR_CLOSING_PHARENTHESIS_EXPECTED_AFTER_POS
INVALID_METHOD_CALL
public static final MessageReference INVALID_METHOD_CALL
TYPE_EXPECTED_AT
public static final MessageReference TYPE_EXPECTED_AT
METHOD_WRONG_ARG_EXACT
public static final MessageReference METHOD_WRONG_ARG_EXACT
METHOD_WRONG_ARG_BETWEEN
public static final MessageReference METHOD_WRONG_ARG_BETWEEN
METHOD_WRONG_ARG_X_OR_MORE
public static final MessageReference METHOD_WRONG_ARG_X_OR_MORE
METHOD_WRONG_ARG_X_OR_LESS
public static final MessageReference METHOD_WRONG_ARG_X_OR_LESS
METHOD_WRONG_INPUT_TYPE
public static final MessageReference METHOD_WRONG_INPUT_TYPE
LEFT_SIDE_NOT_STRUCTURAL_TYPE
public static final MessageReference LEFT_SIDE_NOT_STRUCTURAL_TYPE
LEFT_SIDE_NOT_A_PROPERTY
public static final MessageReference LEFT_SIDE_NOT_A_PROPERTY
PROPERTY_NAME_NOT_FOUND_IN_TYPE
public static final MessageReference PROPERTY_NAME_NOT_FOUND_IN_TYPE
INVALID_TYPES_FOR_BINARY_OPERATOR
public static final MessageReference INVALID_TYPES_FOR_BINARY_OPERATOR
INVALID_SORT_ORDER
public static final MessageReference INVALID_SORT_ORDER
ExpressionParserException
public ExpressionParserException()
ExpressionParserException
public ExpressionParserException(MessageReference messageReference)
- Create
ExpressionParserException
with given MessageReference
.
- Parameters:
messageReference
- references the message text (and additional values) of this ExpressionParserException
ExpressionParserException
public ExpressionParserException(MessageReference messageReference,
Throwable cause)
- Create
ExpressionParserException
with given MessageReference
and cause Throwable
which
caused
this ExpressionParserException
.
- Parameters:
messageReference
- References the message text (and additional values) of this ExpressionParserException
cause
- Exception which caused this ExpressionParserException
getFilterTree
public CommonExpression getFilterTree()
- Gets erroneous filter expression tree for debug information.
- Returns:
- erroneous filter tree
setFilterTree
public void setFilterTree(CommonExpression filterTree)
- Sets erroneous filter tree for debug information.
- Parameters:
filterTree
- filter tree to be set
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.