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

Gavin King gavin.king at jboss.com
Wed Nov 29 09:27:08 EST 2006


  User: gavin   
  Date: 06/11/29 09:27:08

  Modified:    src/main/org/jboss/seam/jsf  AbstractSeamPhaseListener.java
  Log:
  I really, really hate this
  
  Revision  Changes    Path
  1.29      +8 -0      jboss-seam/src/main/org/jboss/seam/jsf/AbstractSeamPhaseListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AbstractSeamPhaseListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/AbstractSeamPhaseListener.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -b -r1.28 -r1.29
  --- AbstractSeamPhaseListener.java	29 Nov 2006 12:31:42 -0000	1.28
  +++ AbstractSeamPhaseListener.java	29 Nov 2006 14:27:08 -0000	1.29
  @@ -254,6 +254,14 @@
            actionsWereCalled = Pages.instance().callActions(facesContext) || actionsWereCalled;
            return actionsWereCalled;
         }
  +      catch (RuntimeException re)
  +      {
  +         //we have to handle exceptions here because of
  +         //how JSF defines exception handling from
  +         //PhaseListener.beforePhase()
  +         log.error("Swallowing exception thrown by page action", re);
  +         return actionsWereCalled;
  +      }
         finally
         {
            Lifecycle.setPhaseId( PhaseId.RENDER_RESPONSE );
  
  
  



More information about the jboss-cvs-commits mailing list