KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 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.core.commands;
12
13 import org.eclipse.core.commands.common.CommandException;
14
15 /**
16  * Signals that an exception occured during the execution of a command.
17  * <p>
18  * This class is not intended to be extended by clients.
19  * </p>
20  *
21  * @since 3.1
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      *
35      * @param message
36      * the detail message; may be <code>null</code>.
37      * @since 3.2
38      */

39     public ExecutionException(final String JavaDoc message) {
40         super(message);
41     }
42     
43     /**
44      * Creates a new instance of this class with the specified detail message
45      * and cause.
46      *
47      * @param message
48      * the detail message; may be <code>null</code>.
49      * @param cause
50      * the cause; may be <code>null</code>.
51      */

52     public ExecutionException(final String JavaDoc message, final Throwable JavaDoc cause) {
53         super(message, cause);
54     }
55 }
56
Popular Tags