KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > commands > 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.commands;
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 CommandException {
25
26     /**
27      * Generated serial version UID for this class.
28      *
29      * @since 3.1
30      */

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

39     public NotDefinedException(String JavaDoc s) {
40         super(s);
41     }
42
43     /**
44      * Constructs a legacy <code>NotDefinedException</code> based on the new
45      * <code>NotDefinedException</code>.
46      *
47      * @param e
48      * The exception from which this exception should be created;
49      * must not be <code>null</code>.
50      * @since 3.1
51      */

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