public static void closeSilently(ResultSet rs){
  if (rs != null) {
    try {
      rs.close();
    }
 catch (    SQLException e) {
    }
  }
}

public static void closeSilently ( ResultSet rs ) { if ( rs != null ) { try { rs . close ( ) ; } catch ( SQLException e ) { } } }
close a result set without throwing an exception .
