public class ExpressionParserException extends ODataBadRequestException
AMBIGUOUS_XMETHOD, BODY, COMMON, INVALID_HEADER, INVALID_REQUEST, INVALID_SYNTAX, NOTSUPPORTED, PARSEVERSIONERROR, URLTOOSHORT, VERSIONERRORhttpStatuserrorCode, messageReference| Constructor and Description |
|---|
ExpressionParserException() |
ExpressionParserException(MessageReference messageReference)
Create
ExpressionParserException with given MessageReference. |
ExpressionParserException(MessageReference messageReference,
Throwable cause)
Create
ExpressionParserException with given MessageReference and cause Throwable which
caused
this ExpressionParserException. |
| Modifier and Type | Method and Description |
|---|---|
CommonExpression |
getFilterTree()
Gets erroneous filter expression tree for debug information.
|
void |
setFilterTree(CommonExpression filterTree)
Sets erroneous filter tree for debug information.
|
getHttpStatuscreateMessageReference, getErrorCode, getMessage, getMessageReferencegetApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final MessageReference COMMON_ERROR
public static final MessageReference ERROR_IN_TOKENIZER
public static final MessageReference TOKEN_UNDETERMINATED_STRING
public static final MessageReference INVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING
public static final MessageReference EXPRESSION_EXPECTED_AFTER_POS
public static final MessageReference COMMA_OR_END_EXPECTED_AT_POS
public static final MessageReference EXPRESSION_EXPECTED_AT_POS
public static final MessageReference MISSING_CLOSING_PARENTHESIS
public static final MessageReference COMMA_OR_CLOSING_PARENTHESIS_EXPECTED_AFTER_POS
public static final MessageReference INVALID_METHOD_CALL
public static final MessageReference TYPE_EXPECTED_AT
public static final MessageReference METHOD_WRONG_ARG_EXACT
public static final MessageReference METHOD_WRONG_ARG_BETWEEN
public static final MessageReference METHOD_WRONG_ARG_X_OR_MORE
public static final MessageReference METHOD_WRONG_ARG_X_OR_LESS
public static final MessageReference METHOD_WRONG_INPUT_TYPE
public static final MessageReference LEFT_SIDE_NOT_STRUCTURAL_TYPE
public static final MessageReference LEFT_SIDE_NOT_A_PROPERTY
public static final MessageReference PROPERTY_NAME_NOT_FOUND_IN_TYPE
public static final MessageReference INVALID_MULTIPLICITY
public static final MessageReference INVALID_TYPES_FOR_BINARY_OPERATOR
public static final MessageReference INVALID_SORT_ORDER
public ExpressionParserException()
public ExpressionParserException(MessageReference messageReference)
ExpressionParserException with given MessageReference.messageReference - references the message text (and additional values) of this ExpressionParserExceptionpublic ExpressionParserException(MessageReference messageReference, Throwable cause)
ExpressionParserException with given MessageReference and cause Throwable which
caused
this ExpressionParserException.messageReference - References the message text (and additional values) of this ExpressionParserExceptioncause - Exception which caused this ExpressionParserExceptionpublic CommonExpression getFilterTree()
public void setFilterTree(CommonExpression filterTree)
filterTree - filter tree to be setCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.