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

Gavin King gavin.king at jboss.com
Mon Jun 18 01:12:25 EDT 2007


  User: gavin   
  Date: 07/06/18 01:12:25

  Modified:    src/main/org/jboss/seam/exceptions  
                        AnnotationErrorHandler.java
                        AnnotationRedirectHandler.java
  Log:
  deprecate end() on exception annotations
  tolerate multiple calls to begin()/end(), esp for @ApplicationException
  
  Revision  Changes    Path
  1.5       +1 -0      jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationErrorHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AnnotationErrorHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationErrorHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- AnnotationErrorHandler.java	4 Feb 2007 17:03:33 -0000	1.4
  +++ AnnotationErrorHandler.java	18 Jun 2007 05:12:24 -0000	1.5
  @@ -26,6 +26,7 @@
      }
      
      @Override
  +   @SuppressWarnings("deprecation")
      protected boolean isEnd(Exception e)
      {
         return e.getClass().getAnnotation(HttpError.class).end();
  
  
  
  1.6       +1 -0      jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationRedirectHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AnnotationRedirectHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationRedirectHandler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- AnnotationRedirectHandler.java	11 Feb 2007 00:42:14 -0000	1.5
  +++ AnnotationRedirectHandler.java	18 Jun 2007 05:12:25 -0000	1.6
  @@ -35,6 +35,7 @@
      }
      
      @Override
  +   @SuppressWarnings("deprecation")
      protected boolean isEnd(Exception e)
      {
         return e.getClass().getAnnotation(Redirect.class).end();
  
  
  



More information about the jboss-cvs-commits mailing list