[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: TransactionTimeoutConfiguration pluggability
jhalliday
do-not-reply at jboss.com
Wed Mar 19 12:46:12 EDT 2008
> 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#4137844
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137844
More information about the jboss-dev-forums
mailing list