01 /*
02 * SecurityException.java
03 *
04 * Copyright (c) 1995-2010, The University of Sheffield. See the file
05 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
06 *
07 * This file is part of GATE (see http://gate.ac.uk/), and is free
08 * software, licenced under the GNU Library General Public License,
09 * Version 2, June 1991 (in the distribution as file licence.html,
10 * and also available at http://gate.ac.uk/gate/licence.html).
11 *
12 * Marin Dimitrov, 19/Sep/2001
13 *
14 * $Id: SecurityException.java 12006 2009-12-01 17:24:28Z thomas_heitz $
15 */
16
17 package gate.security;
18
19 import gate.util.GateException;
20
21
22
23 /** This exception indicates security violation.
24 */
25 public class SecurityException extends GateException {
26 /** Debug flag */
27 private static final boolean DEBUG = false;
28
29 /** Default construction */
30 public SecurityException() { super(); }
31
32 /** Construction from string */
33 public SecurityException(String s) { super(s); }
34
35 /** Construction from exception */
36 public SecurityException(Exception e) { super(e.toString()); }
37
38 } // PersistenceException
|