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