From e334c7b300470b207c186abc96c784058ab2b954 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sun, 29 Jul 2007 17:20:14 +0000 Subject: [PATCH] 2-arg constructor not supported on Tiger. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3901 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/XmlFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/XmlFile.java b/core/src/main/java/hudson/XmlFile.java index 0f3bb50295..bf6fc23bd5 100644 --- a/core/src/main/java/hudson/XmlFile.java +++ b/core/src/main/java/hudson/XmlFile.java @@ -202,7 +202,7 @@ public final class XmlFile { throw new IOException("Failed to detect encoding of "+file); return e.encoding; } catch (SAXException e) { - throw new IOException("Failed to detect encoding of "+file,e); + throw new IOException2("Failed to detect encoding of "+file,e); } catch (ParserConfigurationException e) { throw new AssertionError(e); // impossible }