1. opensymphony
  2. xwork

Commits

jholmes  committed 6733c60

XW-545 Change ConfigurationManager to not overwrite exception stacktraces

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1564e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 7f363fe
  • Branches master

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/config/ConfigurationManager.java

View file
  • Ignore whitespace
                 configuration.reload(getConfigurationProviders());
             } catch (ConfigurationException e) {
                 setConfiguration(null);
-                throw e;
+                throw new ConfigurationException("Unable to load configuration.", e);
             }
         } else {
             conditionalReload();