1 /******************************************************************************* 2 * Copyright (c) 2000, 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.jface.resource; 12 13 /** 14 * An exception indicating that a string value could not be 15 * converted into the requested data type. 16 * 17 * @see StringConverter 18 */ 19 public class DataFormatException extends IllegalArgumentException { 20 21 /** 22 * Generated serial version UID for this class. 23 * @since 3.1 24 */ 25 private static final long serialVersionUID = 3544955467404031538L; 26 27 /** 28 * Creates a new exception. 29 */ 30 public DataFormatException() { 31 super(); 32 } 33 34 /** 35 * Creates a new exception. 36 * 37 * @param message the message 38 */ 39 public DataFormatException(String message) { 40 super(message); 41 } 42 } 43