Package org.apache.calcite.sql.validate
Class SqlValidatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.calcite.sql.validate.SqlValidatorException
- All Implemented Interfaces:
Serializable
,CalciteValidatorException
Exception thrown while validating a SQL statement.
Unlike CalciteException
, this is a
checked exception, which reminds code authors to wrap it in another exception
containing the line/column context.
- See Also:
-
Constructor Summary
ConstructorDescriptionSqlValidatorException
(String message, Throwable cause) Creates a new SqlValidatorException object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SqlValidatorException
Creates a new SqlValidatorException object.- Parameters:
message
- error messagecause
- underlying cause
-