Code example for ErrorHandler

Methods: error

0
                + exception.getColumnNumber()
                + ": " 
                + exception.getMessage(),
            exception);
        if (errorHandler != null) {
            errorHandler.error(exception);
        } else { 
            throw exception;
        } 
    } 
 
    /** 
     * Forward notification of a fatal parsing error to the application 
     * supplied error handler, if any, otherwise throw a SAXException with the error. 
     * 
     * @param exception The fatal error information 
     * 
     * @exception SAXException if a parsing exception occurs 
     */ 
    public void fatalError(SAXParseException exception) throws SAXException {
        log.error(