Yes, server logs will contain the timedout message. But as i stated:
In case the Interrupted exception is because of transaction timeout, i would like to do some additional logic.
So i would have to know that a timeout has occured, programatically. I went through the code in
JBoss(the appserver that i am using) and found that on timeout of a transaction, it logs a WARN message and then invokes thread.interrupt().
This effectively means that the actual cause(timeout) is lost. And i guess,(after looking at the code of JBoss) i wont be able to identify the timeout of a transaction, programatically.
[ February 23, 2006: Message edited by: jaikiran pai ]