OSDN Git Service

モデルデータ不備の異常系を別パッケージに
[mikutoga/TogaGem.git] / src / main / java / jp / sourceforge / mikutoga / pmd / model / binio / PmdExporterExt2.java
index 78fb5cd..4fcc46e 100644 (file)
@@ -7,6 +7,7 @@
 
 package jp.sourceforge.mikutoga.pmd.model.binio;
 
+import jp.sourceforge.mikutoga.pmd.IllegalPmdDataException;
 import java.io.IOException;
 import java.io.OutputStream;
 import jp.sourceforge.mikutoga.binio.IllegalTextExportException;
@@ -37,17 +38,17 @@ public class PmdExporterExt2 extends PmdExporterExt1{
      * {@inheritDoc}
      * @param model {@inheritDoc}
      * @throws IOException {@inheritDoc}
-     * @throws IllegalPmdException {@inheritDoc}
+     * @throws IllegalPmdDataException {@inheritDoc}
      */
     @Override
     public void dumpPmdModel(PmdModel model)
-            throws IOException, IllegalPmdException{
+            throws IOException, IllegalPmdDataException{
         super.dumpPmdModel(model);
 
         try{
             dumpToonMap(model);
         }catch(IllegalTextExportException e){
-            throw new IllegalPmdException(e);
+            throw new IllegalPmdDataException(e);
         }
 
         return;