Avouid using RuntimeException constructor which is not available before java5

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@810182 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java b/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java
index 61d3cf0..7d4f2a9 100644
--- a/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java
@@ -1290,7 +1290,7 @@
                 }
                 catch (Exception ex)
                 {
-                    throw new RuntimeException("Unable to create module class loader.", ex);
+                    throw new RuntimeException("Unable to create module class loader: " +  ex.getMessage());
                 }
             }
             else
diff --git a/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java b/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java
index 29e1f19..492fb31 100644
--- a/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java
+++ b/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java
@@ -441,7 +441,7 @@
             }
             catch (IOException ex)
             {
-                throw new RuntimeException("Unable to open JAR file, probably deleted.", ex);
+                throw new RuntimeException("Unable to open JAR file, probably deleted: " + ex.getMessage());
             }
         }
     }