[seam-commits] Seam SVN: r8720 - trunk/src/main/org/jboss/seam/captcha.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sun Aug 17 22:06:45 EDT 2008


Author: dan.j.allen
Date: 2008-08-17 22:06:45 -0400 (Sun, 17 Aug 2008)
New Revision: 8720

Modified:
   trunk/src/main/org/jboss/seam/captcha/Captcha.java
Log:
should state that no session context is active


Modified: trunk/src/main/org/jboss/seam/captcha/Captcha.java
===================================================================
--- trunk/src/main/org/jboss/seam/captcha/Captcha.java	2008-08-18 02:05:51 UTC (rev 8719)
+++ trunk/src/main/org/jboss/seam/captcha/Captcha.java	2008-08-18 02:06:45 UTC (rev 8720)
@@ -144,7 +144,7 @@
    {
       if ( !Contexts.isSessionContextActive() )
       {
-         throw new IllegalStateException("No page context active");
+         throw new IllegalStateException("No session context active");
       }
       return (Captcha) Component.getInstance(Captcha.class, ScopeType.SESSION);
    }




More information about the seam-commits mailing list