KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > commands > ExecutionException


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 exception occured during the execution of a command.
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.ExecutionException
22  */

23 public final class ExecutionException extends CommandException {
24
25     /**
26      * Generated serial version UID for this class.
27      *
28      * @since 3.1
29      */

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

41     public ExecutionException(String JavaDoc message, Throwable JavaDoc cause) {
42         super(message, cause);
43     }
44
45     /**
46      * Constructs a new instance of <code>ExecutionException</code> using an
47      * instance of the new <code>ExecutionException</code>.
48      *
49      * @param e
50      * The exception from which this exception should be created;
51      * must not be <code>null</code>.
52      * @since 3.1
53      */

54     public ExecutionException(final org.eclipse.core.commands.ExecutionException e) {
55         super(e.getMessage(), e);
56     }
57 }
58
Popular Tags