[ https://issues.apache.org/jira/browse/VELOCITY-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen closed VELOCITY-382. ------------------------------------------- > getResourceStream returns null instead of throwing an > ResourceNotFoundException > ------------------------------------------------------------------------------- > > Key: VELOCITY-382 > URL: https://issues.apache.org/jira/browse/VELOCITY-382 > Project: Velocity > Issue Type: Bug > Components: Engine > Affects Versions: 1.4 > Environment: Operating System: Windows XP > Platform: PC > Reporter: zpeedy > Fix For: 1.5 > > > According to the documentation of org.apache.velocity.runtime.resource.loader. > getResourceStream(String name), it should throw an ResourceNotFoundException > when the resource with the given name can't be found. But the Exception isn't > thrown, null is returned as result from the "classLoader.getResourceAsStream( > name > )" method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]