Java, Unit Testing, Tdd, Programming, Technology.
(NoSuchMethodException e) { System.err.println("Method not found: " + e.getMessage()); } catch (IllegalAccessException e) { System.err.println("Cannot access method: " + e.getMessage()); } catch (InvocationTargetException e) { System.err.println("Method threw an exception: " + e.getCause()); } } }