code: public SQLWarning getWarnings() throws SQLException {
          try {
              return rsetImpl.getWarnings();
          } catch (SQLException ex) {
              FFDCFilter.processException(ex, "com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.getWarnings", "2345", this);
              throw WSJdbcUtil.mapException(this, ex);
          } catch (NullPointerException nullX) {
              // No FFDC code needed; we might be closed.
              throw runtimeXIfNotClosed(nullX);
          }
      }
docs: The first warning reported by calls on this ResultSet is returned. Subsequent ResultSet warnings will be chained to
  this SQLWarning.
  
  The warning chain is automatically cleared each time a new row is read.
  
  Note: This warning chain only covers warnings caused by ResultSet methods. Any warning caused by statement
  methods (such as reading OUT parameters) will be chained on the Statement object.
  
  @return
  the first SQLWarning or null
  @throws SQLException if a database access error occurs.