presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoSqlWarning.java/PrestoSqlWarning/PrestoSqlWarning
class PrestoSqlWarning:    public PrestoSqlWarning(Warning warning)
    {
        //TODO: enforce that sqlState is 01[5,6,7,8,9,I-Z][0-9A-Z]{3}
        // From the SQL Standard ISO_IEC_9075-2E_2016 24.1 SQLState: warning codes have class 01
        // warning subclasses defined in the sql state will start with [0-4A-H] and contain 3 characters
        // An example of vendor specific warning codes can be found here:
        // https://www.ibm.com/support/knowledgecenter/en/SSEPEK_10.0.0/codes/src/tpc/db2z_sqlstatevalues.html#db2z_sqlstatevalues__code01
        // Note that the subclass begins with 5 which indicates it is an implementation defined subclass
        super(warning.getMessage(), warning.getWarningCode().getName(), warning.getWarningCode().getCode());
    }