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

Gavin King gavin.king at jboss.com
Mon Mar 12 01:33:30 EDT 2007


  User: gavin   
  Date: 07/03/12 01:33:30

  Modified:    src/main/org/jboss/seam/intercept 
                        RootInvocationContext.java
  Log:
  unwrap ITE
  
  Revision  Changes    Path
  1.5       +4 -18     jboss-seam/src/main/org/jboss/seam/intercept/RootInvocationContext.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RootInvocationContext.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/intercept/RootInvocationContext.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- RootInvocationContext.java	6 Mar 2007 04:35:40 -0000	1.4
  +++ RootInvocationContext.java	12 Mar 2007 05:33:30 -0000	1.5
  @@ -4,6 +4,8 @@
   import java.util.HashMap;
   import java.util.Map;
   
  +import org.jboss.seam.util.Reflections;
  +
   /**
    * InvocationContext for use with CGLIB-based interceptors.
    * 
  @@ -26,23 +28,7 @@
      
      public Object proceed() throws Exception
      {      
  -      try
  -      {
  -         return method.invoke(bean, params);
  -      }
  -      catch (Error e)
  -      {
  -         throw e;
  -      }
  -      catch (Exception e)
  -      {
  -         throw e;
  -      }
  -      catch (Throwable t)
  -      {
  -         //only extremely wierd stuff!
  -         throw new Exception(t);
  -      }
  +      return Reflections.invoke(method, bean, params);
      }
   
      public Object getTarget()
  
  
  



More information about the jboss-cvs-commits mailing list