[jboss-svn-commits] JBL Code SVN: r24359 - labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Dec 11 16:31:29 EST 2008
Author: mark.little at jboss.com
Date: 2008-12-11 16:31:29 -0500 (Thu, 11 Dec 2008)
New Revision: 24359
Modified:
labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/TransactionImple.java
Log:
https://jira.jboss.org/jira/browse/JBTM-455
Modified: labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/TransactionImple.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/TransactionImple.java 2008-12-11 21:30:28 UTC (rev 24358)
+++ labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/TransactionImple.java 2008-12-11 21:31:29 UTC (rev 24359)
@@ -1405,12 +1405,17 @@
}
catch (INVALID_TRANSACTION e6)
{
- throw new IllegalStateException(
- jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.invalidtx2"));
+ /*
+ * In JTS/OTS we can indicate that something was terminated by another thread.
+ * JTA doesn't really prevent this, but ...
+ */
+
+ //throw new IllegalStateException(
+ // jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.invalidtx2"));
}
catch (org.omg.CORBA.SystemException e7)
{
- throw new javax.transaction.SystemException();
+ throw new InvalidTerminationStateException();
}
finally
{
More information about the jboss-svn-commits
mailing list