reuse IOException2

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24654 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
lacostej committed 2009-12-16 16:48:57 +00:00
1 parent 0c9a22f07e
commit 2a5945e56b
1 file changed
+1 -3
@@ -339,9 +339,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
e.setDest(destDir);
e.execute();
} catch (BuildException x) {
IOException ioe = new IOException("Failed to expand " + archive);
ioe.initCause(x);
throw ioe;
throw new IOException2("Failed to expand " + archive,x);
}
try {