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.commands;
11:
12: /**
13: * Signals that an attempt was made to access the properties of an unhandled
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.NotHandledException
22: */
23: public final class NotHandledException extends CommandException {
24:
25: /**
26: * Generated serial version UID for this class.
27: *
28: * @since 3.1
29: */
30: private static final long serialVersionUID = 3256446914827726904L;
31:
32: /**
33: * Creates a new instance of this class with the specified detail message.
34: *
35: * @param s
36: * the detail message.
37: */
38: public NotHandledException(String s) {
39: super (s);
40: }
41:
42: /**
43: * Constructs a legacy <code>NotHandledException</code> based on the new
44: * <code>NotHandledException</code>
45: *
46: * @param e
47: * The exception from which this exception should be created;
48: * must not be <code>null</code>.
49: * @since 3.1
50: */
51: public NotHandledException(
52: final org.eclipse.core.commands.NotHandledException e) {
53: super(e.getMessage(), e);
54: }
55: }
|