public SQLWarning getWarnings() throws SQLException {
        checkState();

        return rs.getWarnings();
    }
Returns the first warning reported by calls on this rowset's
<code>ResultSet</code> object.
Subsequent warnings on this rowset's <code>ResultSet</code> object
will be chained to the <code>SQLWarning</code> object that
this method returns.

<P>The warning chain is automatically cleared each time a new
row is read.

<P><B>Note:</B> This warning chain only covers warnings caused
by <code>ResultSet</code> methods.  Any warning caused by
<code>Statement</code> methods
(such as reading OUT parameters) will be chained on the
<code>Statement</code> object.

@return the first <code>SQLWarning</code> object reported or <code>null</code>
@throws SQLException if (1) a database access error occurs
           or (2) this rowset does not have a currently valid connection,
           prepared statement, and result set
src/main/java/org/replicadb/rowset/sun/rowset/JdbcRowSetImpl.java