01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.contexts;
11:
12: /**
13: * Signals that an attempt was made to access the properties of an undefined
14: * object.
15: * <p>
16: * This class is not intended to be extended by clients.
17: * </p>
18: *
19: * @since 3.0
20: * @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
21: * @see org.eclipse.core.commands.common.NotDefinedException
22: */
23: public final class NotDefinedException extends ContextException {
24:
25: /**
26: * Generated serial version UID for this class.
27: *
28: * @since 3.1
29: */
30: private static final long serialVersionUID = 3833750983926167092L;
31:
32: /**
33: * Creates a new instance of this class with the specified detail message.
34: *
35: * @param message
36: * the detail message.
37: */
38: public NotDefinedException(String message) {
39: super (message);
40: }
41:
42: /**
43: * Constructs a new instance of <code>NotDefinedException</code>.
44: *
45: * @param e
46: * The exception being thrown; must not be <code>null</code>.
47: * @since 3.1
48: */
49: public NotDefinedException(
50: org.eclipse.core.commands.common.NotDefinedException e) {
51: super(e.getMessage(), e);
52: }
53: }
|