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

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