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 duringExtendedSqlNodevalidation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message)SqlValidateException(org.apache.calcite.sql.parser.SqlParserPos errorPosition, String message, Exception e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.sql.parser.SqlParserPosgetErrorPosition()StringgetMessage()voidsetErrorPosition(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
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
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)
-
-