aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLazar Kirchev2013-03-05 11:02:16 (EST)
committerThomas Watson2013-03-05 17:00:31 (EST)
commitaebc15a66df6fb75da8dd2b86dfee14b5459a339 (patch)
tree03866b5ae45989003be6666189454aab77d2da4c
parent28b800be376df053e55438c7192410320c29be92 (diff)
downloadrt.equinox.framework-aebc15a66df6fb75da8dd2b86dfee14b5459a339.zip
rt.equinox.framework-aebc15a66df6fb75da8dd2b86dfee14b5459a339.tar.gz
rt.equinox.framework-aebc15a66df6fb75da8dd2b86dfee14b5459a339.tar.bz2
-rw-r--r--bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/loader/BundleLoader.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/loader/BundleLoader.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/loader/BundleLoader.java
index 718ce7f..2d377dd 100644
--- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/loader/BundleLoader.java
+++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/loader/BundleLoader.java
@@ -452,7 +452,7 @@ public class BundleLoader implements ClassLoaderDelegate {
result = source.loadClass(name);
if (result != null)
return result;
- throw new ClassNotFoundException(name);
+ throw new ClassNotFoundException(name + " cannot be found by " + this); //$NON-NLS-1$
}
// 4) search the required bundles
source = findRequiredSource(pkgName, null);
@@ -472,7 +472,7 @@ public class BundleLoader implements ClassLoaderDelegate {
if (result != null)
return result;
// must throw CNFE if dynamic import source does not have the class
- throw new ClassNotFoundException(name);
+ throw new ClassNotFoundException(name + " cannot be found by " + this); //$NON-NLS-1$
}
}
@@ -498,7 +498,7 @@ public class BundleLoader implements ClassLoaderDelegate {
} catch (ClassNotFoundException e) {
// we want to generate our own exception below
}
- throw new ClassNotFoundException(name);
+ throw new ClassNotFoundException(name + " cannot be found by " + this); //$NON-NLS-1$
}
@SuppressWarnings("unchecked")