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

--- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-10-26 
14:13:51 UTC ---
1. Thread.interrupted() - clears the flag
2. new SQLException() - bails out

It does sx.initCause(ex), so original InterruptedException is still there.

Do you have trouble dealing with this SQLException?

Whether you should follow the advise from the book depends on why the
interruption was requested. I do not see any problem here.

-- 
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