Improve error handling for WMS GetMap requests so only a well known set of rendering exceptions are ignored
------------------------------------------------------------------------------------------------------------
Key: GEOS-3277
URL: http://jira.codehaus.org/browse/GEOS-3277
Project: GeoServer
Issue Type: Improvement
Components: WMS
Affects Versions: 2.0-beta2
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.0-RC1
See discussion here [http://www.nabble.com/WMS-rendering-eats-all-exceptions-td24543043.html\]
Basically, {{StreamingRenderer}} defers all the exception handling to it's {{RenderListener}}s. It does even for {{Throwable}}.
GeoServer's WMS GetMap request means to ignore some kind of rendering errors in order to make a best effort at rendering the most possible out of a dataset. So it means to ignore reprojection exceptions, for example.
But the side effect is that all and every exceptions are being ignored, producing "false positive" getmap responses where some exception that shouldn't be ignored is thrown.
We can add with no performance penalty a listener that checks if the exception is one of a well known set of exceptions that we're interested in ignoring, and if not fail and hence throw a ServiceException instead of returning a false positive success response.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira