https://issues.apache.org/bugzilla/show_bug.cgi?id=50571

--- Comment #3 from Filip Hanik <fha...@apache.org> 2011-01-11 19:02:44 EST ---
I see, exceptions can't simply be propagated like that, since that would cancel
out events/code that needs to run.

    protected void finalize(PooledConnection con) {
        JdbcInterceptor handler = con.getHandler();
        while (handler!=null) {
            handler.reset(null, null);
            handler=handler.getNext();
        }
    }

If a reset() throws an exception, the rest of the interceptors wouldn't be
notified here, and the exception would not mean very much.

So, probably better to address case by case, and see what needs to be done

best
Filip

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to