InvocationTargetException
Today while working on some Junit’s I came across this exception.
The java compiler checks that exceptions thrown by methods called are caught or thrown by the calling method. Because the compiler cannot analyze methods call through reflection, the reflection runtime wraps any errors thrown in the called routines in a predictable exception.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/InvocationTargetException.html