OSDN Git Service

Appendable対応
[mikutoga/TogaGem.git] / src / main / java / jp / sfjp / mikutoga / xml / TogaXmlException.java
1 /*
2  * exception about xml
3  *
4  * License : The MIT License
5  * Copyright(c) 2010 MikuToga Partners
6  */
7
8 package jp.sfjp.mikutoga.xml;
9
10 /**
11  * 意図しないXML文書を検出した際の例外。
12  */
13 @SuppressWarnings("serial")
14 public class TogaXmlException extends Exception{
15
16     /**
17      * コンストラクタ。
18      */
19     public TogaXmlException(){
20         super();
21         return;
22     }
23
24     /**
25      * コンストラクタ。
26      * @param message メッセージ
27      */
28     public TogaXmlException(String message){
29         super(message);
30         return;
31     }
32
33     /**
34      * コンストラクタ。
35      * @param message メッセージ
36      * @param cause 原因の例外
37      */
38     public TogaXmlException(String message, Throwable cause){
39         super(message, cause);
40         return;
41     }
42
43     /**
44      * コンストラクタ。
45      * @param cause 原因の例外
46      */
47     public TogaXmlException(Throwable cause){
48         super(cause);
49         return;
50     }
51
52 }