public static void closeQuietly(final Closeable closeable){
  try {
    if (closeable != null) {
      closeable.close();
    }
  }
 catch (  IOException ex) {
  }
}

public static void closeQuietly ( final Closeable closeable ) { try { if ( closeable != null ) { closeable . close ( ) ; } } catch ( IOException ex ) { } }
quiet closing of a closeable object .
