[seam-commits] Seam SVN: r15121 - branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/transaction.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Sep 10 09:19:48 EDT 2012
Author: manaRH
Date: 2012-09-10 09:19:48 -0400 (Mon, 10 Sep 2012)
New Revision: 15121
Modified:
branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/transaction/Transaction.java
Log:
JBPAPP-8322
Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/transaction/Transaction.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/transaction/Transaction.java 2012-09-06 14:56:12 UTC (rev 15120)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/transaction/Transaction.java 2012-09-10 13:19:48 UTC (rev 15121)
@@ -81,12 +81,12 @@
{
return (javax.transaction.UserTransaction) context.lookup("java:comp/UserTransaction");
}
- catch (NameNotFoundException nnfe)
+ catch (NamingException ne)
{
try
{
// JBPAPP-8322
- return (UserTransaction) context.lookup("java:jboss/UserTransaction");
+ return (javax.transaction.UserTransaction) context.lookup("java:jboss/UserTransaction");
}
catch (final Exception cause)
{
@@ -103,7 +103,7 @@
}
catch (Exception e)
{
- throw nnfe;
+ throw ne;
}
}
}
More information about the seam-commits
mailing list