- Revision
- 436
- Author
- mauro
- Date
- 2007-11-26 10:53:47 -0600 (Mon, 26 Nov 2007)
Log Message
Updated error messages.
Modified Paths
Diff
Modified: trunk/waffle-core/src/main/java/org/codehaus/waffle/controller/ContextControllerDefinitionFactory.java (435 => 436)
--- trunk/waffle-core/src/main/java/org/codehaus/waffle/controller/ContextControllerDefinitionFactory.java 2007-11-26 10:30:04 UTC (rev 435) +++ trunk/waffle-core/src/main/java/org/codehaus/waffle/controller/ContextControllerDefinitionFactory.java 2007-11-26 16:53:47 UTC (rev 436) @@ -70,16 +70,15 @@ if (requestLevelContainer == null) { controllerMonitor.requestContextContainerNotFound(); String error = "No context container found at request level. " - + "Please ensure that a WaffleRequestFilter was registered in the web.xml"; + + "Please ensure that a WaffleRequestFilter is registered in the web.xml"; throw new WaffleException(error); } Object controller = requestLevelContainer.getComponentInstance(name); if (controller == null) { controllerMonitor.controllerNotFound(name); - String error = "No controller configured for the specified path: '" - + request.getRequestURI() + "' (controller name='" + name + "') " - + "Please ensure that controller '" + name + "' was registered in the Registrar."; + String error = "No controller '" + name + "' configured for the specified path: '" + + request.getRequestURI() + ". Please ensure that controller '" + name + "' is registered in the Registrar."; throw new WaffleException(error); }
To unsubscribe from this list please visit:
