Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2013-03-26 18:33:23 +0000
committercletavernie2013-03-26 18:33:23 +0000
commitd1ce76a58b5eba20bcad203bfad0e539a098e2e2 (patch)
tree7a0e47bd686840b3f6ae23515b1f6c581237d957
parent4b80d5bffd9a039655814601a82a9ab74dbd05cf (diff)
downloadorg.eclipse.papyrus-d1ce76a58b5eba20bcad203bfad0e539a098e2e2.tar.gz
org.eclipse.papyrus-d1ce76a58b5eba20bcad203bfad0e539a098e2e2.tar.xz
org.eclipse.papyrus-d1ce76a58b5eba20bcad203bfad0e539a098e2e2.zip
290952: [CDO] Support for CDO model repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290952 Fix the build: Do not use Java 1.6 constructor for IOException
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EMFURLStreamHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EMFURLStreamHandler.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EMFURLStreamHandler.java
index d9fc8cfedf6..c8c31f583bc 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EMFURLStreamHandler.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EMFURLStreamHandler.java
@@ -78,7 +78,7 @@ public class EMFURLStreamHandler extends URLStreamHandler {
input = uriConverter.getURIHandler(uri).createInputStream(uri, createInputStreamOptions());
connected = true;
} catch (Exception e) {
- throw new IOException("Failed to connect.", e);
+ throw new IOException("Failed to connect: " + e.getMessage());
}
}
}

Back to the top