DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35286>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35286 Summary: getResourceStream returns null instead of throwing an ResourceNotFoundException Product: Velocity Version: 1.4 Platform: PC URL: http://jakarta.apache.org/velocity/api/org/apache/veloci ty/runtime/resource/loader/ClasspathResourceLoader.html# getResourceStream(java.lang.String) OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Source AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] 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. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
