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