System.out.println("Call to method " + m.getName() + " on class " + target.getClass().getName() + " resulted in exception of type " + ex.getClass().getName()); System.out.println("Exception message: " + ex.getMessage());