presto-main/src/main/java/io/prestosql/sql/analyzer/SemanticExceptions.java/SemanticExceptions/semanticException
class SemanticExceptions:    public static PrestoException semanticException(ErrorCodeSupplier code, Node node, Throwable cause, String format, Object... args)
    {
        throw new PrestoException(code, extractLocation(node), format(format, args), cause);
    }