SystemException is for serious failure isn't it?
Like being unable to determine the current timeout? :-)
int getTransactionTimeout() throws SystemException;
I picked SystemException to keep the API consistent, but I guess we could ignore that, or
change getTransactionTimeout to throw IllegalStateException too.
Speaking of consistency, why does getTransactionTimeout() return int whilst
getTimeLeftBeforeTransactionTimeout returns long?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137844#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...