ParameterException.java |
1 /* 2 * ParameterException.java 3 * 4 * Copyright (c) 1998-2005, The University of Sheffield. 5 * 6 * This file is part of GATE (see http://gate.ac.uk/), and is free 7 * software, licenced under the GNU Library General Public License, 8 * Version 2, June 1991 (in the distribution as file licence.html, 9 * and also available at http://gate.ac.uk/gate/licence.html). 10 * 11 * Hamish Cunningham, 14/Nov/2000 12 * 13 * $Id: ParameterException.java,v 1.4 2005/01/11 13:51:31 ian Exp $ 14 */ 15 16 package gate.creole; 17 18 import gate.util.GateException; 19 20 /** This exception indicates failure to set a resource parameter. 21 */ 22 public class ParameterException extends GateException { 23 24 /** Debug flag */ 25 private static final boolean DEBUG = false; 26 27 public ParameterException() { 28 super(); 29 } 30 31 public ParameterException(String s) { 32 super(s); 33 } 34 35 public ParameterException(Exception e) { 36 super(e.toString()); 37 } 38 } // ParameterException 39