KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > osgi > framework > adaptor > ImportResourceNotFoundException


1 /*******************************************************************************
2  * Copyright (c) 2003, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.osgi.framework.adaptor;
13
14 /**
15  * Exception class to denote that the resource is in an imported package
16  * but the resource was not found! This is thrown by ImportClassLoader
17  * and caught by BundleClassLoader in the getResource* methods after
18  * calling parent.getResource*().
19  *
20  */

21 public class ImportResourceNotFoundException extends RuntimeException JavaDoc {
22     /**
23      * Constructor with no detail message
24      */

25     public ImportResourceNotFoundException() {
26         super();
27     }
28
29     /**
30      * Constructor with detail message
31      *
32      * @param s the detail message.
33      */

34     public ImportResourceNotFoundException(String JavaDoc s) {
35         super(s);
36     }
37 }
Popular Tags