geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (GERONIMO-4683) Transaction.commit method signature isn't entirely correctly
Date Tue, 15 Sep 2009 14:41:57 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lin Sun reopened GERONIMO-4683:
-------------------------------


I just realized that the SecurityException is also unchecked exception.   So we are listing
one but not the other.  Seems we should be consistent here.   

> 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
>            Assignee: 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.


Mime
View raw message