[ 
https://issues.apache.org/jira/browse/GERONIMO-4683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718204#action_12718204
 ] 

David Jencks commented on GERONIMO-4683:
----------------------------------------

IIUC IllegalStateException is an unchecked exception so you don't need to list 
it in method signatures.  The binary jar pases the signature tests which 
definitely check for the correct exceptions.

> Transaction.commit method signature isn't entirely correctly
> ------------------------------------------------------------
>
>                 Key: GERONIMO-4683
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4683
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>    Affects Versions: 2.1.4
>            Reporter: Lin Sun
>
> I found out the Transaction.commit method signature isn't entirely correct.
> Per JTA 1.1 for the Transaction interface:
> commit 
> public void commit() throws RollbackException, 
> HeuristicMixedException, HeuristicRollbackException, 
> IllegalStateException, SecurityException, SystemException
> geronimo-jta_1.1_spec has:
>     void commit() throws HeuristicMixedException, HeuristicRollbackException, 
> RollbackException, SecurityException, SystemException;
> which is missing the IllegalStateException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to