A third built-in extension point for MySQL Connector/J is the ExceptionInterceptor interface. This is the third extension point covered in my recent JavaOne and Silicon Valley Code Camp presentations, and is very useful for diagnosing specific Exceptions encountered without modifying application-side code. This corresponds to slide #60 in my slide deck, and there are two Java files we’ll reference from my demo code:
- demo.connectorj.ExceptionInterceptorExample
- demo.connectork.plugins.ExampleExceptionInterceptor
To …
[Read more]