[jboss-cvs] jboss-seam/src/ioc/org/jboss/seam/ioc/spring ...
Michael Youngstrom
youngm at gmail.com
Fri Nov 16 15:58:34 EST 2007
User: myoungstrom
Date: 07/11/16 15:58:34
Modified: src/ioc/org/jboss/seam/ioc/spring SpringTransaction.java
Log:
JBSEAM-2244
Revision Changes Path
1.4 +3 -36 jboss-seam/src/ioc/org/jboss/seam/ioc/spring/SpringTransaction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SpringTransaction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ioc/org/jboss/seam/ioc/spring/SpringTransaction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- SpringTransaction.java 9 Jul 2007 23:10:18 -0000 1.3
+++ SpringTransaction.java 16 Nov 2007 20:58:34 -0000 1.4
@@ -82,29 +82,6 @@
{
platformTransactionManager.getValue().commit(currentTransaction);
}
- catch (HeuristicCompletionException e)
- {
-
- switch (e.getOutcomeState())
- {
- case HeuristicCompletionException.STATE_ROLLED_BACK:
- log.error("Exception cause:", e);
- throw new HeuristicRollbackException(e.getMessage());
- default:
- log.error("Exception cause:", e);
- throw new HeuristicMixedException(e.getMessage());
- }
- }
- catch (TransactionSystemException e)
- {
- log.error("Exception cause:", e);
- throw new SystemException(e.getMessage());
- }
- catch (UnexpectedRollbackException e)
- {
- log.error("Exception cause:", e);
- throw new RollbackException(e.getMessage());
- }
finally
{
currentTransaction = null;
@@ -168,11 +145,6 @@
{
platformTransactionManager.getValue().rollback(currentTransaction);
}
- catch (TransactionException e)
- {
- log.error("Exception cause:", e);
- throw new SystemException(e.getMessage());
- }
finally
{
currentTransaction = null;
@@ -211,11 +183,6 @@
}
transaction.setRollbackOnly();
}
- catch (TransactionException e)
- {
- log.error("Exception cause:", e);
- throw new SystemException(e.getMessage());
- }
finally
{
if (currentTransaction == null)
More information about the jboss-cvs-commits
mailing list