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 class is in an imported package 16 * but the class was not found! This is thrown by ImportClassLoader 17 * and caught by BundleClassLoader in the loadClass method after 18 * calling parent.loadClass(). 19 * 20 */ 21 public class ImportClassNotFoundException extends ClassNotFoundException { 22 /** 23 * Constructor with no detail message 24 */ 25 public ImportClassNotFoundException() { 26 super(); 27 } 28 29 /** 30 * Constructor with detail message 31 * 32 * @param s the detail message. 33 */ 34 public ImportClassNotFoundException(String s) { 35 super(s); 36 } 37 }