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

Gavin King gavin.king at jboss.com
Fri Oct 13 14:17:20 EDT 2006


  User: gavin   
  Date: 06/10/13 14:17:20

  Modified:    src/main/org/jboss/seam/contexts  PageContext.java
  Log:
  more helpful exception msg
  
  Revision  Changes    Path
  1.7       +2 -2      jboss-seam/src/main/org/jboss/seam/contexts/PageContext.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PageContext.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/PageContext.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- PageContext.java	11 Oct 2006 04:42:12 -0000	1.6
  +++ PageContext.java	13 Oct 2006 18:17:20 -0000	1.7
  @@ -29,7 +29,7 @@
    * returns values from the page that was the source of the request.
    * 
    * @author Gavin King
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   public class PageContext implements Context {
   
  @@ -121,7 +121,7 @@
         PhaseId phaseId = Lifecycle.getPhaseId();
         if (phaseId==null)
         {
  -         throw new IllegalStateException("No phase id bound to current thread");
  +         throw new IllegalStateException("No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)");
         }
         return phaseId;
      }
  
  
  



More information about the jboss-cvs-commits mailing list