Class CQLException

  • All Implemented Interfaces:
    Serializable

    public class CQLException
    extends ParseException
    This exception is produced when the cql input string has syntax errors.
    Since:
    2.4
    Author:
    Mauricio Pazos (Axios Engineering)
    See Also:
    Serialized Form
    • Constructor Detail

      • CQLException

        public CQLException​(String message,
                            IToken token,
                            Throwable cause,
                            String cqlSource)
        New instance of CQLException
        Parameters:
        message - exception description
        token - current token
        cause - the cause
        cqlSource - string analyzed
      • CQLException

        public CQLException​(String message,
                            IToken token,
                            String cqlSource)
        New instance of CQLException
        Parameters:
        message - exception description
        token - current token
        cqlSource - analyzed string
      • CQLException

        public CQLException​(String message,
                            String cqlSource)
        New instance of CQLException
      • CQLException

        public CQLException​(String message)
        New instance of CQLException
    • Method Detail

      • getSyntaxError

        public String getSyntaxError()
        Returns the syntax error presents in the last sequence of characters analyzed.
        Returns:
        the syntax error