Class SqlValidateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.flink.sql.parser.error.SqlValidateException
- All Implemented Interfaces:
Serializable
SQL parse Exception. This exception mainly throws during
ExtendedSqlNode validation.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message) SqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message, Exception e) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.sql.parser.SqlParserPosvoidsetErrorPosition(org.apache.calcite.sql.parser.SqlParserPos errorPosition) voidsetMessage(String message) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SqlValidateException
public SqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message) -
SqlValidateException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
setMessage
-
getErrorPosition
public org.apache.calcite.sql.parser.SqlParserPos getErrorPosition() -
setErrorPosition
public void setErrorPosition(org.apache.calcite.sql.parser.SqlParserPos errorPosition)
-