[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...

Gavin King gavin.king at jboss.com
Sat Feb 3 23:13:34 EST 2007


  User: gavin   
  Date: 07/02/03 23:13:34

  Modified:    src/main/org/jboss/seam/annotations 
                        TransactionPropagationType.java
  Log:
  tx handling for stuff that happens in phaselistener
  
  Revision  Changes    Path
  1.2       +17 -24    jboss-seam/src/main/org/jboss/seam/annotations/TransactionPropagationType.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TransactionPropagationType.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/TransactionPropagationType.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- TransactionPropagationType.java	16 Dec 2006 10:03:45 -0000	1.1
  +++ TransactionPropagationType.java	4 Feb 2007 04:13:34 -0000	1.2
  @@ -17,8 +17,6 @@
      
      public boolean isNewTransactionRequired(boolean transactionActive)
      {
  -      try
  -      {
            switch (this)
            {
               case REQUIRED:
  @@ -39,10 +37,5 @@
                  throw new IllegalArgumentException();
            }
         }
  -      catch (Exception e)
  -      {
  -         throw new RuntimeException(e);
  -      }
  -   }
      
   }
  
  
  



More information about the jboss-cvs-commits mailing list