| DocumentFormatException.java |
1 /*
2 * DocumentFormatException.java
3 *
4 * Copyright (c) 1998-2004, 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 * Cristian URSU, 24/OCT/2000
12 *
13 * $Id: DocumentFormatException.java,v 1.3 2004/07/21 17:10:09 akshay Exp $
14 */
15
16 package gate.util;
17
18 /**
19 * This exception can be used to catch any internal exception thrown by the
20 * DocumentFormat class and its subbclasses.
21 */
22 public class DocumentFormatException extends GateException {
23 /** Debug flag */
24 private static final boolean DEBUG = false;
25
26 public DocumentFormatException(){
27 super();
28 }
29 public DocumentFormatException(String aMessage, Exception anException) {
30 super(aMessage + anException);
31 }
32 public DocumentFormatException(String aMessage) {
33 super(aMessage);
34 }
35 public DocumentFormatException(Exception anException) {
36 super(anException);
37 }
38 } // DocumentFormatException
39