SecurityException.java |
1 /* 2 * SecurityException.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 * Marin Dimitrov, 19/Sep/2001 12 * 13 * $Id: SecurityException.java,v 1.4 2005/01/11 13:51:36 ian Exp $ 14 */ 15 16 package gate.security; 17 18 import gate.util.GateException; 19 20 21 22 /** This exception indicates security violation. 23 */ 24 public class SecurityException extends GateException { 25 /** Debug flag */ 26 private static final boolean DEBUG = false; 27 28 /** Default construction */ 29 public SecurityException() { super(); } 30 31 /** Construction from string */ 32 public SecurityException(String s) { super(s); } 33 34 /** Construction from exception */ 35 public SecurityException(Exception e) { super(e.toString()); } 36 37 } // PersistenceException 38