Class TrapException

  • All Implemented Interfaces:

    public class TrapException
    extends JdbcInterceptor
    Interceptor that traps any unhandled exception types and throws an exception that has been declared by the method called, or throw an SQLException if it is declared. If the caught exception is not declared, and the method doesn't throw SQLException, then this interceptor will throw a RuntimeException