public static void preDestroyQuietly ( Object obj , Logger log ) { try { preDestroy ( obj , log ) ; } catch ( Throwable t ) { log . warn ( "Could not @PreDestroy object" , t ) ; } }
Calls preDestroy with the same arguments logging any exceptions that are thrown at the level warn .