private void invokeIgnoreExceptions ( Object obj , String method , Object ... args ) { try { invoke ( obj , method , args ) ; } catch ( NoSuchMethodException e ) { logger . trace ( "Unable to log progress" , e ) ; } catch ( InvocationTargetException e ) { logger . trace ( "Unable to log progress" , e ) ; } catch ( IllegalAccessException e ) { logger . trace ( "Unable to log progress" , e ) ; } }
Invoke a method using reflection but don t throw any exceptions . Just log errors instead .