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); } }