public SQLWarning getWarnings() {
        return sqlwarn;
    }
The first warning reported by calls on this <code>CachedRowSetImpl</code>
object is returned. Subsequent <code>CachedRowSetImpl</code> warnings will
be chained to this <code>SQLWarning</code>.

<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 statement
methods (such as reading OUT parameters) will be chained on the
<code>Statement</code> object.

@return the first SQLWarning or null
src/main/java/org/replicadb/rowset/sun/rowset/CachedRowSetImpl.java