1 // Copyright (C) 2014 Christian Jaekl
3 // Simple SAX parse error handler.
4 // Necessary to avoid printing [Fatal Error] messages to stdout when something goes wrong.
6 package net.jaekl.qd.xml;
8 import org.xml.sax.ErrorHandler;
9 import org.xml.sax.SAXException;
10 import org.xml.sax.SAXParseException;
12 public class ParseErrorHandler implements ErrorHandler {
15 public void error(SAXParseException saxpe) throws SAXException {
20 public void fatalError(SAXParseException saxpe) throws SAXException {
25 public void warning(SAXParseException saxpe) throws SAXException {