From b072f2e55b8f971def6a7696d5c82531c26b4e79 Mon Sep 17 00:00:00 2001 From: Julian Hyde Date: Wed, 15 Aug 2007 06:55:30 +0000 Subject: [PATCH] Fix build under JDK 1.5 git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@26 c6a108a4-781c-0410-a6c6-c2d559e19af0 --- testsrc/org/olap4j/ConnectionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsrc/org/olap4j/ConnectionTest.java b/testsrc/org/olap4j/ConnectionTest.java index 0372ed5..ff27245 100644 --- a/testsrc/org/olap4j/ConnectionTest.java +++ b/testsrc/org/olap4j/ConnectionTest.java @@ -966,10 +966,10 @@ public InputStream get(URL url, String request) throws IOException { request, urlString, map, null); return new ByteArrayInputStream(bytes); } catch (ServletException e) { - throw new IOException( + throw new RuntimeException( "Error while reading '" + url + "'", e); } catch (SAXException e) { - throw new IOException( + throw new RuntimeException( "Error while reading '" + url + "'", e); } }