1 /******************************************************************************* 2 * Copyright (c) 2004, 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.core.commands; 12 13 import org.eclipse.core.commands.common.CommandException; 14 15 /** 16 * Signals that an attempt was made to execute a command that is not enabled. 17 * <p> 18 * This class is not intended to be extended by clients. 19 * </p> 20 * 21 * @since 3.2 22 */ 23 public final class NotEnabledException extends CommandException { 24 25 /** 26 * Generated serial version UID for this class. 27 * 28 * @since 3.1 29 */ 30 private static final long serialVersionUID = 3257572788998124596L; 31 32 /** 33 * Creates a new instance of this class with the specified detail message. 34 * 35 * @param s 36 * the detail message; may be <code>null</code>. 37 */ 38 public NotEnabledException(final String s) { 39 super(s); 40 } 41 } 42