DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22356>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22356 org.apache.struts.util.PropertyMessageResources fails to report errors when reading prop files. ------- Additional Comments From [EMAIL PROTECTED] 2003-08-12 20:18 ------- This particular piece of code should also be re-written to properly use try/catch/finally. Like this: try { is = this.getClass().getClassLoader().getResourceAsStream(name); if (is != null) { props.load(is); } } catch (Throwable t) { //print the stack trace for the prop file that failed to be loaded. t.printStackTrace(); } finally { if (is!=null) try { is.close(); is=null; } catch (Exception ignore) {} } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]