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

public static void closeSilently ( Connection conn ) { if ( conn != null ) { try { conn . close ( ) ; } catch ( SQLException e ) { } } }
close a connection without throwing an exception .
