public static void closeQuietly ( final OutputStream aOutputStream ) { if ( aOutputStream != null ) { try { aOutputStream . close ( ) ; } catch ( final IOException details ) { LOGGER . error ( details . getMessage ( ) , details ) ; } } }
Closes an output stream catching and logging any exceptions .