Class FilterParserExceptionImpl
- 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
-
- org.apache.olingo.odata2.core.uri.expression.FilterParserExceptionImpl
-
- All Implemented Interfaces:
Serializable
public class FilterParserExceptionImpl extends ExpressionParserException
This class is used to create exceptions of type FilterParserException. Because this class lies inside org.apache.olingo.odata2.core it is possible to define better/more detailed input parameters for inserting into the exception text.
The exceptionExpressionParserExceptiondoes not know the org.apache.olingo.odata2.core content- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.olingo.odata2.api.uri.expression.ExpressionParserException
COMMA_OR_CLOSING_PARENTHESIS_EXPECTED_AFTER_POS, COMMA_OR_END_EXPECTED_AT_POS, COMMON_ERROR, ERROR_IN_TOKENIZER, EXPRESSION_EXPECTED_AFTER_POS, EXPRESSION_EXPECTED_AT_POS, INVALID_METHOD_CALL, INVALID_MULTIPLICITY, INVALID_SORT_ORDER, INVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING, INVALID_TYPES_FOR_BINARY_OPERATOR, LEFT_SIDE_NOT_A_PROPERTY, LEFT_SIDE_NOT_STRUCTURAL_TYPE, METHOD_WRONG_ARG_BETWEEN, METHOD_WRONG_ARG_EXACT, METHOD_WRONG_ARG_X_OR_LESS, METHOD_WRONG_ARG_X_OR_MORE, METHOD_WRONG_INPUT_TYPE, MISSING_CLOSING_PARENTHESIS, PROPERTY_NAME_NOT_FOUND_IN_TYPE, TOKEN_UNDETERMINATED_STRING, TYPE_EXPECTED_AT
-
Fields inherited from class org.apache.olingo.odata2.api.exception.ODataBadRequestException
AMBIGUOUS_XMETHOD, BODY, COMMON, INVALID_HEADER, INVALID_REQUEST, INVALID_SYNTAX, NOTSUPPORTED, PARSEVERSIONERROR, URLTOOSHORT, VERSIONERROR
-
Fields inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
httpStatus
-
Fields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
errorCode, messageReference
-
-
Constructor Summary
Constructors Constructor Description FilterParserExceptionImpl()
-
Method Summary
-
Methods inherited from class org.apache.olingo.odata2.api.uri.expression.ExpressionParserException
getFilterTree, setFilterTree
-
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
getHttpStatus
-
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
-
-
-
-
Method Detail
-
createERROR_IN_TOKENIZER
public static ExpressionParserException createERROR_IN_TOKENIZER(TokenizerException exceptionTokenizer, String expression)
-
createINVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING
public static ExpressionParserException createINVALID_TRAILING_TOKEN_DETECTED_AFTER_PARSING(Token token, String expression)
-
createEXPRESSION_EXPECTED_AFTER_POS
public static ExpressionParserException createEXPRESSION_EXPECTED_AFTER_POS(Token token, String expression)
-
createEXPRESSION_EXPECTED_AFTER_POS
public static ExpressionParserException createEXPRESSION_EXPECTED_AFTER_POS(int position, String expression)
-
createCOMMA_OR_END_EXPECTED_AT_POS
public static ExpressionParserException createCOMMA_OR_END_EXPECTED_AT_POS(Token token, String expression)
-
createEXPRESSION_EXPECTED_AT_POS
public static ExpressionParserException createEXPRESSION_EXPECTED_AT_POS(Token token, String expression)
-
createCOMMA_OR_CLOSING_PARENTHESIS_EXPECTED_AFTER_POS
public static ExpressionParserException createCOMMA_OR_CLOSING_PARENTHESIS_EXPECTED_AFTER_POS(Token token, String expression)
-
createMETHOD_WRONG_ARG_COUNT
public static ExpressionParserException createMETHOD_WRONG_ARG_COUNT(MethodExpressionImpl methodExpression, Token token, String expression)
-
createMETHOD_WRONG_INPUT_TYPE
public static ExpressionParserException createMETHOD_WRONG_INPUT_TYPE(MethodExpressionImpl methodExpression, Token token, String expression)
-
createLEFT_SIDE_NOT_A_PROPERTY
public static ExpressionParserException createLEFT_SIDE_NOT_A_PROPERTY(Token token, String expression) throws ExpressionParserInternalError
- Throws:
ExpressionParserInternalError
-
createLEFT_SIDE_NOT_STRUCTURAL_TYPE
public static ExpressionParserException createLEFT_SIDE_NOT_STRUCTURAL_TYPE(EdmType parentType, PropertyExpressionImpl property, Token token, String expression) throws ExpressionParserInternalError
- Throws:
ExpressionParserInternalError
-
createPROPERTY_NAME_NOT_FOUND_IN_TYPE
public static ExpressionParserException createPROPERTY_NAME_NOT_FOUND_IN_TYPE(EdmStructuralType parentType, PropertyExpression property, Token token, String expression) throws ExpressionParserInternalError
- Throws:
ExpressionParserInternalError
-
createTOKEN_UNDETERMINATED_STRING
public static ExpressionParserException createTOKEN_UNDETERMINATED_STRING(int position, String expression)
-
createINVALID_TYPES_FOR_BINARY_OPERATOR
public static ExpressionParserException createINVALID_TYPES_FOR_BINARY_OPERATOR(BinaryOperator op, EdmType left, EdmType right, Token token, String expression)
-
createMISSING_CLOSING_PARENTHESIS
public static ExpressionParserException createMISSING_CLOSING_PARENTHESIS(int position, String expression, TokenizerExpectError e)
-
createINVALID_SORT_ORDER
public static ExpressionParserException createINVALID_SORT_ORDER(Token token, String expression)
-
createINVALID_METHOD_CALL
public static ExpressionParserException createINVALID_METHOD_CALL(CommonExpression leftNode, Token prevToken, String expression)
-
createTYPE_EXPECTED_AT
public static ExpressionParserException createTYPE_EXPECTED_AT(EdmType expectedType, EdmType actualType, int position, String expression)
-
-