Package org.geotools.filter.text.cql2
Class CQLException
Object
Throwable
Exception
ParseException
CQLException
- All Implemented Interfaces:
Serializable
This exception is produced when the cql input string has syntax errors.
- Since:
- 2.4
- Author:
- Mauricio Pazos (Axios Engineering)
- See Also:
-
Field Summary
FieldsFields inherited from class ParseException
EOL, expectedTokenSequences, tokenImage -
Constructor Summary
ConstructorsConstructorDescriptionCQLException(String message) New instance of CQLExceptionCQLException(String message, String cqlSource) New instance of CQLExceptionCQLException(String message, IToken token, String cqlSource) New instance of CQLExceptionCQLException(String message, IToken token, Throwable cause, String cqlSource) New instance of CQLException -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns the causeReturns the exception messageReturns the syntax error presents in the last sequence of characters analyzed.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
cause
-
-
Constructor Details
-
CQLException
New instance of CQLException- Parameters:
message- exception descriptiontoken- current tokencause- the causecqlSource- string analyzed
-
CQLException
New instance of CQLException- Parameters:
message- exception descriptiontoken- current tokencqlSource- analyzed string
-
CQLException
New instance of CQLException -
CQLException
New instance of CQLException
-
-
Method Details
-
getCause
Returns the cause -
getMessage
Returns the exception message- Overrides:
getMessagein classThrowable- Returns:
- a message
-
getSyntaxError
Returns the syntax error presents in the last sequence of characters analyzed.- Returns:
- the syntax error
-