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