Requesting an invalid resource returns a 500 error when perhaps it should return a 404?
---------------------------------------------------------------------------------------
Key: RF-7341
URL:
https://jira.jboss.org/jira/browse/RF-7341
Project: RichFaces
Issue Type: Bug
Components: core
Affects Versions: 3.3.0
Reporter: Michael Youngstrom
Priority: Minor
If I request an invalid resource I get a 500 error. A 404 may be more appropriate in this
situation.
15:13:36,839 ERROR [default]: Servlet.service() for servlet default threw exception
org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered :
org/richfaces/renderkit/html/scripts/bash
at
org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:397)
at
org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:341)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira