code: private static ReflectionException handleException(String methodName, InvocationTargetException e) {
          LOGGER.error("Couldn't invoke method " + methodName, e);
          return new ReflectionException(e);
      }
docs: Handle {@link InvocationTargetException} by logging it and rethrown it as a {@link ReflectionException}
  
  @param methodName method name
  @param e          exception
  @return wrapped exception