geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: [discuss] update Transaction.commit method signature in jta spec jar
Date Fri, 18 Sep 2009 19:33:38 GMT

On Sep 17, 2009, at 4:13 PM, Lin Sun wrote:

>
> What do you think of adding the missing unchecked exception
> "IllegalStateException" back to our JTA spec and release a newer
> version of the JTA spec jar just to be the same as what is in the Java
> doc?  I think it is good for us to be consistent with what is in the
> JTA spec and we should be consistent in declaring the unchecked
> exceptions (we currently declares the SecurityException but not the
> IllegalStateException).

Been trying to find some motivation one way or another...

We can debate whether or not declaration of unchecked exceptions serve  
a useful purpose in this case. However, not sure if that really  
matters. In this instance, best to be accurate, IMO. So would support  
the update to our JTA spec.

--kevan

Mime
View raw message