question: public static void safeCloseStream ( OutputStream out ) { if ( out != null ) { try { out . close ( ) ; } catch ( Exception e ) { log . error ( e . getMessage ( ) , e ) ; } } }
target:  Close streams without pain