[cvs] expresso commit by lhamel: improve error msg
JCorporate Ltd
jcorp at jcorporate.com
Thu Dec 9 06:21:27 UTC 2004
Log Message:
-----------
improve error msg
Modified Files:
--------------
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/registry:
RequestRegistry.java
Revision Data
-------------
Index: RequestRegistry.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/registry/RequestRegistry.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/registry/RequestRegistry.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/registry/RequestRegistry.java -u -r1.5 -r1.6
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/registry/RequestRegistry.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/registry/RequestRegistry.java
@@ -157,9 +157,7 @@
RequestRegistry requestRegistry = (RequestRegistry) threadLocal.get();
if (requestRegistry == null) {
throw new IllegalStateException("No request registry has been associated with this thread yet."
- + " If you are running inside a servlet engine, please add "
- + "RequestRegistryFilter as a servlet filter within web.xml. See the " +
- " web.xml in the Expresso source tree as an example.");
+ + " See MutableRequestRegistry constructor, which will add proper threadlocal variable.");
}
return requestRegistry;
}
More information about the cvs
mailing list