[jboss-svn-commits] JBL Code SVN: r13437 - 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
Fri Jul 13 04:17:49 EDT 2007
Author: adinn
Date: 2007-07-13 04:17:49 -0400 (Fri, 13 Jul 2007)
New Revision: 13437
Modified:
labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/BaseTransaction.java
Log:
fix for JBTM-258 : patched BaseTransaction in jtax tree to append the originating error details to the NotSupportedException thrown if begin is called inside an existing TX
Modified: labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/BaseTransaction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/BaseTransaction.java 2007-07-13 08:17:33 UTC (rev 13436)
+++ labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/BaseTransaction.java 2007-07-13 08:17:49 UTC (rev 13437)
@@ -115,7 +115,7 @@
}
catch (IllegalStateException e1)
{
- throw new NotSupportedException();
+ throw new NotSupportedException(e1.getMessage());
}
catch (org.omg.CORBA.SystemException e2)
{
@@ -131,7 +131,7 @@
{
// shouldn't happen if we get here from the previous checks!
- throw new NotSupportedException();
+ throw new NotSupportedException(e3.getMessage());
}
catch (org.omg.CORBA.SystemException e4)
{
More information about the jboss-svn-commits
mailing list