Package io.prestosql.sql.analyzer
Class SemanticExceptions
- java.lang.Object
-
- io.prestosql.sql.analyzer.SemanticExceptions
-
public final class SemanticExceptions extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrestoExceptionambiguousAttributeException(Expression node, QualifiedName name)static PrestoExceptionmissingAttributeException(Expression node, QualifiedName name)static PrestoExceptionsemanticException(ErrorCodeSupplier code, Node node, String format, Object... args)static PrestoExceptionsemanticException(ErrorCodeSupplier code, Node node, Throwable cause, String format, Object... args)
-
-
-
Method Detail
-
missingAttributeException
public static PrestoException missingAttributeException(Expression node, QualifiedName name)
-
ambiguousAttributeException
public static PrestoException ambiguousAttributeException(Expression node, QualifiedName name)
-
semanticException
public static PrestoException semanticException(ErrorCodeSupplier code, Node node, String format, Object... args)
-
semanticException
public static PrestoException semanticException(ErrorCodeSupplier code, Node node, Throwable cause, String format, Object... args)
-
-