Class SqlValidateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.flink.sql.parser.error.SqlValidateException
All Implemented Interfaces:
Serializable

public class SqlValidateException extends Exception
SQL parse Exception. This exception mainly throws during ExtendedSqlNode validation.
See Also:
  • Constructor Details

    • SqlValidateException

      public SqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message)
    • SqlValidateException

      public SqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message, Exception e)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • setMessage

      public void setMessage(String message)
    • getErrorPosition

      public org.apache.calcite.sql.parser.SqlParserPos getErrorPosition()
    • setErrorPosition

      public void setErrorPosition(org.apache.calcite.sql.parser.SqlParserPos errorPosition)