[HUDSON-4941] Log which file had an XML parse error to assist in diagnosis & fix.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24022 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
jglick committed 2009-11-24 16:36:07 +00:00
1 parent bf8c9fba1e
commit 5b7c857cfd
1 file changed
+1 -1
+1 -1
View File
@@ -147,7 +147,7 @@ public final class XmlFile {
try {
return xs.unmarshal(new XppReader(r),o);
} catch (StreamException e) {
throw new IOException2(e);
throw new IOException2("Unable to read "+file,e);
} catch(ConversionException e) {
throw new IOException2("Unable to read "+file,e);
} catch(Error e) {// mostly reflection errors