[seam-commits] Seam SVN: r15181 - branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/transaction.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Oct 2 08:52:29 EDT 2012
Author: manaRH
Date: 2012-10-02 08:52:29 -0400 (Tue, 02 Oct 2012)
New Revision: 15181
Modified:
branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/transaction/Transaction.java
Log:
JBSEAM-5047 - fixed catching of NamingException in tomcat.
Modified: branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/transaction/Transaction.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/transaction/Transaction.java 2012-10-02 12:52:19 UTC (rev 15180)
+++ branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/transaction/Transaction.java 2012-10-02 12:52:29 UTC (rev 15181)
@@ -81,7 +81,7 @@
{
return (javax.transaction.UserTransaction) context.lookup("java:comp/UserTransaction");
}
- catch (NameNotFoundException nnfe)
+ catch (NamingException ne)
{
try
{
@@ -96,7 +96,7 @@
}
catch (Exception e)
{
- throw nnfe;
+ throw ne;
}
}
}
More information about the seam-commits
mailing list