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