presto-spi/src/main/java/io/prestosql/spi/PrestoWarning.java/PrestoWarning/PrestoWarning
class PrestoWarning:    public PrestoWarning(WarningCodeSupplier warningCodeSupplier, String message)
    {
        this(requireNonNull(warningCodeSupplier, "warningCodeSupplier is null").toWarningCode(), message);
    }