When the WMS encounters an error it currently just uses the WFS's xml response. This is wrong, the WMS spec has its own format that it is supposed to use. Change org.vfny.geoserver.WmsExceptionHandler to report the WMS way.
CodeHaus Comment From: cholmes - Time: Fri, 2 Jan 2004 14:33:02 -0600
<p>Should be fixed, validates against the wms exception dtd. The reporting codes need some more research to get the rest of the app to throw the right ones, but the framework is now there, the xml returned is wms, not wfs.</p>