protected void closeLogExc ( @ Nullable final Closeable closeable ) { if ( closeable == null ) { return ; } try { closeable . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Closes a closeable and logs an exception if any .