diff options
author | Lazar Kirchev | 2013-03-05 16:02:16 +0000 |
---|---|---|
committer | Thomas Watson | 2013-03-05 22:00:31 +0000 |
commit | aebc15a66df6fb75da8dd2b86dfee14b5459a339 (patch) | |
tree | 03866b5ae45989003be6666189454aab77d2da4c /bundles | |
parent | 28b800be376df053e55438c7192410320c29be92 (diff) | |
download | rt.equinox.framework-aebc15a66df6fb75da8dd2b86dfee14b5459a339.tar.gz rt.equinox.framework-aebc15a66df6fb75da8dd2b86dfee14b5459a339.tar.xz rt.equinox.framework-aebc15a66df6fb75da8dd2b86dfee14b5459a339.zip |
Bug 402340 - Add the Bundle loader in the message of ClassNotFoundExceptionv20130305-220031N20130317-2000N20130316-1500N20130315-2000I20130314-1330I20130313-2000I20130313-0800I20130312-2000I20130312-1000I20130312-0800I20130311-2000I20130311-0800I20130310-2000I20130309-1500I20130308-2000I20130307-2000I20130306-2330I20130306-2000I20130306-1518I20130306-1318I20130306-1033I20130306-1014I20130306-0836I20130306-0045I20130305-2300I20130305-2000
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/loader/BundleLoader.java | 6 |
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 718ce7f89..2d377dd50 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") |