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 exception occured during the execution of a command.
14: * <p>
15: * This class is not intended to be extended by clients.
16: * </p>
17: *
18: * @since 3.0
19: * @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
20: * @see org.eclipse.core.commands.ExecutionException
21: */
22: public final class ExecutionException extends CommandException {
23:
24: /**
25: * Generated serial version UID for this class.
26: *
27: * @since 3.1
28: */
29: private static final long serialVersionUID = 3258130262767448120L;
30:
31: /**
32: * Creates a new instance of this class with the specified detail message
33: * and cause.
34: *
35: * @param message
36: * the detail message.
37: * @param cause
38: * the cause.
39: */
40: public ExecutionException(String message, Throwable cause) {
41: super (message, cause);
42: }
43:
44: /**
45: * Constructs a new instance of <code>ExecutionException</code> using an
46: * instance of the new <code>ExecutionException</code>.
47: *
48: * @param e
49: * The exception from which this exception should be created;
50: * must not be <code>null</code>.
51: * @since 3.1
52: */
53: public ExecutionException(
54: final org.eclipse.core.commands.ExecutionException e) {
55: super(e.getMessage(), e);
56: }
57: }
|