[jbossts-issues] [JBoss JIRA] (JBTM-1419) exceptions in jta spec artifact inconsistent with Oracle doc

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Thu Jan 10 07:57:08 EST 2013


     [ https://issues.jboss.org/browse/JBTM-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson resolved JBTM-1419.
---------------------------------

    Resolution: Rejected


Hi, 

This issue would be better raised in the AS7 forum I think as that API is not controlled by the JBTM project. That said IllegalState is a Runtime exception, hence does not need to be declared in the throws clause so I wouldn't really say its a bug. If you want to re-open this, please do be sure to move it to the AS7 project.

Thanks,
Tom
                
> exceptions in jta spec artifact inconsistent with Oracle doc
> ------------------------------------------------------------
>
>                 Key: JBTM-1419
>                 URL: https://issues.jboss.org/browse/JBTM-1419
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>            Reporter: Radim Kolář
>            Assignee: Tom Jenkinson
>
> exceptions listed in this artifact:
> <groupId>org.jboss.spec.javax.transaction</groupId>
> <artifactId>jboss-transaction-api_1.1_spec</artifactId>
> <version>1.0.1.Final</version>
> are sometimes not consistent with official JTA 1.1 documentation - http://download.oracle.com/otn-pub/jcp/jta-1.1-spec-oth-JSpec
> For example JTA documentation for Transaction.commit() lists throws IllegalStateException (spec page 34) while this exception is omitted from your spec JAR.
> There are more cases like that. I recommend you to recheck api spec against PDF documentation from Oracle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbossts-issues mailing list