private SQLWarning getIscWarnings() { SQLWarning firstWarning = null; SQLWarning lastWarning = null; Iterator iter = mc.getGDSHelper().getWarnings().iterator(); while (iter.hasNext()) { GDSException item = (GDSException)iter.next();  FBSQLWarning warning = new FBSQLWarning(item); if (firstWarning == null) { firstWarning = warning; lastWarning = firstWarning; } else { lastWarning.setNextWarning(warning); lastWarning = warning;
private SQLWarning getIscWarnings() throws SQLException { try { SQLWarning firstWarning = null; SQLWarning lastWarning = null; Iterator iter = getGDSHelper().getWarnings().iterator(); while (iter.hasNext()) { GDSException item = (GDSException)iter.next();  FBSQLWarning warning = new FBSQLWarning(item); if (firstWarning == null) { firstWarning = warning; lastWarning = firstWarning; } else { lastWarning.setNextWarning(warning); lastWarning = warning; }
     private SQLWarning getIscWarnings() {         SQLWarning firstWarning = null;         SQLWarning lastWarning = null;         Iterator iter = mc.getGDSHelper().getWarnings().iterator();         while (iter.hasNext()) {             GDSException item = (GDSException)iter.next();                          FBSQLWarning warning = new FBSQLWarning(item);             if (firstWarning == null) {                 firstWarning = warning;                 lastWarning = firstWarning;             } else {                lastWarning.setNextWarning(warning);                lastWarning = warning;             }         }         return firstWarning;     }