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 12 package org.eclipse.jface.bindings.keys; 13 14 /** 15 * <p> 16 * An exception indicating problems while parsing formal string representations 17 * of either <code>KeyStroke</code> or <code>KeySequence</code> objects. 18 * </p> 19 * <p> 20 * <code>ParseException</code> objects are immutable. Clients are not 21 * permitted to extend this class. 22 * </p> 23 * 24 * @since 3.1 25 */ 26 public final class ParseException extends Exception { 27 28 /** 29 * Generated serial version UID for this class. 30 * 31 * @since 3.1 32 */ 33 private static final long serialVersionUID = 3257009864814376241L; 34 35 /** 36 * Constructs a <code>ParseException</code> with the specified detail 37 * message. 38 * 39 * @param s 40 * the detail message. 41 */ 42 public ParseException(final String s) { 43 super(s); 44 } 45 } 46