2 * XML custom error-handler
4 * License : The MIT License
5 * Copyright(c) 2010 MikuToga Partners
8 package jp.sourceforge.mikutoga.pmd2xml;
10 import org.xml.sax.ErrorHandler;
11 import org.xml.sax.SAXException;
12 import org.xml.sax.SAXParseException;
18 final class XmlHandler implements ErrorHandler{
23 static final ErrorHandler HANDLER = new XmlHandler();
35 * @param exception {@inheritDoc}
36 * @throws SAXException {@inheritDoc}
39 public void error(SAXParseException exception) throws SAXException{
45 * @param exception {@inheritDoc}
46 * @throws SAXException {@inheritDoc}
49 public void fatalError(SAXParseException exception) throws SAXException{
55 * @param exception {@inheritDoc}
56 * @throws SAXException {@inheritDoc}
59 public void warning(SAXParseException exception) throws SAXException{