KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > contexts > NotDefinedException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.ui.contexts;
12
13 /**
14  * Signals that an attempt was made to access the properties of an undefined
15  * object.
16  * <p>
17  * This class is not intended to be extended by clients.
18  * </p>
19  *
20  * @since 3.0
21  * @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
22  * @see org.eclipse.core.commands.common.NotDefinedException
23  */

24 public final class NotDefinedException extends ContextException {
25
26     /**
27      * Generated serial version UID for this class.
28      *
29      * @since 3.1
30      */

31     private static final long serialVersionUID = 3833750983926167092L;
32
33     /**
34      * Creates a new instance of this class with the specified detail message.
35      *
36      * @param message
37      * the detail message.
38      */

39     public NotDefinedException(String JavaDoc message) {
40         super(message);
41     }
42
43     /**
44      * Constructs a new instance of <code>NotDefinedException</code>.
45      *
46      * @param e
47      * The exception being thrown; must not be <code>null</code>.
48      * @since 3.1
49      */

50     public NotDefinedException(
51             org.eclipse.core.commands.common.NotDefinedException e) {
52         super(e.getMessage(), e);
53     }
54 }
55
Popular Tags