mc1arke opened a new pull request, #744:
URL: https://github.com/apache/tomcat/pull/744

   When executing a wrapped statement, any resulting SQLException is wrapped in 
an InvocationTargetException by the reflective invocation, which is rethrown by 
the InvocationHandler as an
   UndeclaredThrowableException. To ensure the expected SQLException is thrown, 
the invocation of the wrapped object is being moved into the existing try-catch 
block, thereby ensuring the InvocationTargetException is unwrapped and the 
underlying exception thrown by the handler.
   
   https://bz.apache.org/bugzilla/show_bug.cgi?id=69255


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to