1 /******************************************************************************* 2 * Copyright (c) 2004, 2008 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package org.eclipse.core.runtime; 15 16 /** 17 * An unchecked exception indicating that an attempt to access 18 * an extension registry object that is no longer valid. 19 * <p> 20 * This exception is thrown by methods on extension registry 21 * objects. It is not intended to be instantiated or 22 * subclassed by clients. 23 * </p><p> 24 * This class can be used without OSGi running. 25 * </p> 26 * @noinstantiate This class is not intended to be instantiated by clients. 27 * @noextend This class is not intended to be subclassed by clients. 28 */ 29 public class InvalidRegistryObjectException extends RuntimeException { 30 /* 31 * Declare a stable serialVersionUID. 32 */ 33 private static final long serialVersionUID = 1L; 34 35 private static final String MESSAGE = "Invalid registry object"; //$NON-NLS-1$ 36 37 /** 38 * Creates a new exception instance with null as its detail message. 39 */ InvalidRegistryObjectException()40 public InvalidRegistryObjectException() { 41 super(MESSAGE); 42 } 43 } 44