[seam-commits] Seam SVN: r8719 - branches/Seam_2_0/src/main/org/jboss/seam/captcha.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sun Aug 17 22:05:51 EDT 2008
Author: dan.j.allen
Date: 2008-08-17 22:05:51 -0400 (Sun, 17 Aug 2008)
New Revision: 8719
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/captcha/Captcha.java
Log:
error should state that no session context is active
Modified: branches/Seam_2_0/src/main/org/jboss/seam/captcha/Captcha.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/captcha/Captcha.java 2008-08-18 00:39:09 UTC (rev 8718)
+++ branches/Seam_2_0/src/main/org/jboss/seam/captcha/Captcha.java 2008-08-18 02:05:51 UTC (rev 8719)
@@ -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