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

Gavin King gavin.king at jboss.com
Tue May 29 23:33:37 EDT 2007


  User: gavin   
  Date: 07/05/29 23:33:37

  Modified:    src/main/org/jboss/seam/core  Exceptions.java
  Log:
  exception handler events
  
  Revision  Changes    Path
  1.40      +2 -0      jboss-seam/src/main/org/jboss/seam/core/Exceptions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Exceptions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Exceptions.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -b -r1.39 -r1.40
  --- Exceptions.java	30 May 2007 03:21:04 -0000	1.39
  +++ Exceptions.java	30 May 2007 03:33:37 -0000	1.40
  @@ -77,12 +77,14 @@
                     Contexts.getConversationContext().set("org.jboss.seam.handledException", cause);
                  }
                  eh.handle(cause);
  +               Events.instance().raiseEvent("org.jboss.seam.exceptionHandled." + cause.getClass().getName(), cause);
                  return;
               }
            }
         }
         
         //finally, rethrow it, since no handler was found
  +      Events.instance().raiseEvent("org.jboss.seam.exceptionNotHandled", e);
         throw e;
      }
      
  
  
  



More information about the jboss-cvs-commits mailing list