private static ExecutionException rethrowMethodException(Exception e, String methodName, Object... args) {
return new ExecutionException("Unable to execute method: " + methodName + ", args: " + Arrays.toString(args), e);
}
private static ExecutionException rethrowConstructorException(Exception e, Constructor<?> constructor, Object... args) {
return new ExecutionException("Unable to instantiate object using constructor '" + constructor + "', args: " + Arrays.toString(args), e);
}