Commits

Anonymous committed 30f91cd

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/config/providers/XmlConfigurationProvider.java

     }
 
     protected InputStream getInputStream(String fileName) {
-        InputStream is = FileManager.loadFile(fileName, this.getClass());
-
-        return is;
+        return FileManager.loadFile(fileName, this.getClass());
     }
 
     protected void addAction(Element actionElement, PackageConfig packageContext) throws ConfigurationException {
                     packageContext.setDefaultResultType(name);
                 }
             } catch (ClassNotFoundException e) {
-                LOG.error("Result class [" + className + "] doesn't exist, ignoring");
+                LOG.error("Result class [" + className + "] doesn't exist (ClassNotFoundException), ignoring");
+            } catch (NoClassDefFoundError e) {
+                LOG.error("Result class [" + className + "] doesn't exist (NoClassDefFoundError), ignoring");
             }
         }
     }