01 /*
02 * GateException.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 * Hamish Cunningham, 19/01/2000
13 *
14 * $Id: GateException.java 12006 2009-12-01 17:24:28Z thomas_heitz $
15 */
16
17 package gate.util;
18
19 /** A superclass for exceptions in the GATE packages. Can be used
20 * to catch any internal exception thrown by the GATE libraries.
21 * (Of course
22 * other types of exception may be thrown, but these will be from other
23 * sources such as the Java core API.)
24 */
25 public class GateException extends Exception {
26
27 public GateException() {
28 super();
29 }
30
31 public GateException(String s) {
32 super(s);
33 }
34
35 public GateException(Throwable e) {
36 super(e);
37 }
38
39 public GateException(String message, Throwable e) {
40 super(message, e);
41 }
42
43 } // GateException
|