Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/framework/adaptor/ImportResourceNotFoundException.java')
-rw-r--r--bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/framework/adaptor/ImportResourceNotFoundException.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/framework/adaptor/ImportResourceNotFoundException.java b/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/framework/adaptor/ImportResourceNotFoundException.java
new file mode 100644
index 000000000..82f38ff11
--- /dev/null
+++ b/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/framework/adaptor/ImportResourceNotFoundException.java
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2003 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.osgi.framework.adaptor;
+
+/**
+ * Exception class to denote that the resource is in an imported package
+ * but the resource was not found! This is thrown by ImportClassLoader
+ * and caught by BundleClassLoader in the getResource* methods after
+ * calling parent.getResource*().
+ *
+ */
+public class ImportResourceNotFoundException extends RuntimeException
+{
+ /**
+ * Constructor with no detail message
+ */
+ public ImportResourceNotFoundException()
+ {
+ super();
+ }
+
+ /**
+ * Constructor with detail message
+ *
+ * @param s the detail message.
+ */
+ public ImportResourceNotFoundException(String s)
+ {
+ super(s);
+ }
+}
+

Back to the top