| LaxErrorHandler |

    1   /*
    2    *  LaxErrorHandler.java
    3    *
    4    *  Copyright (c) 1998-2001, 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.5 2000/11/08 16:35:10 hamish Exp $
    14   */
    15  package gate.util;
    16
    17  /**
    18   * LaxErrorHandler
    19   */
    20  import java.io.*;
    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
    49

| LaxErrorHandler |