Quoting Craig Russell <[EMAIL PROTECTED]>: > This exception is not thrown by Method.invoke. It will be caught by > the catch (InvocationTargetException). Reflective invocation wraps > all exceptions in InvocationTargetException which we then unwrap and > rethrow JDOExceptions. > > I've added a new test case in JDOHelperTest to test that a > JDOException thrown from getPersistenceManagerFactory will be thrown > to the user. >
When the mapGetMethodException is thrown, it is inside the try catch block catching java.lang.Exception. The JDOException catch there fixes it.
