OSDN Git Service

パッケージ移動
[mikutoga/Pmd2XML.git] / src / main / java / jp / sfjp / mikutoga / pmd / xml / BotherHandler.java
diff --git a/src/main/java/jp/sfjp/mikutoga/pmd/xml/BotherHandler.java b/src/main/java/jp/sfjp/mikutoga/pmd/xml/BotherHandler.java
deleted file mode 100644 (file)
index 52bebf6..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * XML custom error-handler
- *
- * License : The MIT License
- * Copyright(c) 2010 MikuToga Partners
- */
-
-package jp.sfjp.mikutoga.pmd.xml;
-
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/**
- * 自製エラーハンドラ。
- * 例外を渡されれば即投げる。
- */
-public final class BotherHandler implements ErrorHandler{
-
-    /**
-     * 唯一のシングルトン。
-     */
-    public static final ErrorHandler HANDLER = new BotherHandler();
-
-    /**
-     * 隠しコンストラクタ。
-     */
-    private BotherHandler(){
-        super();
-        return;
-    }
-
-    /**
-     * {@inheritDoc}
-     * @param exception {@inheritDoc}
-     * @throws SAXException {@inheritDoc}
-     */
-    @Override
-    public void error(SAXParseException exception) throws SAXException{
-        throw exception;
-    }
-
-    /**
-     * {@inheritDoc}
-     * @param exception {@inheritDoc}
-     * @throws SAXException {@inheritDoc}
-     */
-    @Override
-    public void fatalError(SAXParseException exception) throws SAXException{
-        throw exception;
-    }
-
-    /**
-     * {@inheritDoc}
-     * @param exception {@inheritDoc}
-     * @throws SAXException {@inheritDoc}
-     */
-    @Override
-    public void warning(SAXParseException exception) throws SAXException{
-        throw exception;
-    }
-
-}