01 /*
02 * LaxErrorHandler.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 * Cristian URSU, 7/July/2000
13 *
14 * $Id: LaxErrorHandler.java 12006 2009-12-01 17:24:28Z thomas_heitz $
15 */
16 package gate.util;
17
18 /**
19 * LaxErrorHandler
20 */
21 import org.xml.sax.*;
22
23 public abstract class LaxErrorHandler implements ErrorHandler {
24
25 /** Debug flag */
26 private static final boolean DEBUG = false;
27
28 /**
29 * LaxErrorHandler constructor comment.
30 */
31 public LaxErrorHandler() {super();}
32
33 /**
34 * error method comment.
35 */
36 public abstract void error(SAXParseException ex) throws SAXException;
37
38 /**
39 * fatalError method comment.
40 */
41 public abstract void fatalError(SAXParseException ex) throws SAXException ;
42
43 /**
44 * warning method comment.
45 */
46 public abstract void warning(SAXParseException ex) throws SAXException ;
47
48 } // class LaxErrorHandler
|