Code example for InvocationTargetException

Methods: getTargetException

0
		try { 
			ReflectionUtils.makeAccessible(this.method);
			this.method.invoke(this.target);
		} 
		catch (InvocationTargetException ex) {
			ReflectionUtils.rethrowRuntimeException(ex.getTargetException());
		} 
		catch (IllegalAccessException ex) {
			throw new UndeclaredThrowableException(ex);
		} 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java