public static void closeSilently(Reader reader){
  if (reader != null) {
    try {
      reader.close();
    }
 catch (    Exception e) {
    }
  }
}

public static void closeSilently ( Reader reader ) { if ( reader != null ) { try { reader . close ( ) ; } catch ( Exception e ) { } } }
close a reader without throwing an exception .
