クラス ContentParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.thinkit.zenna.exception.ContentParsingException
- すべての実装されたインタフェース:
Serializable
public final class ContentParsingException extends RuntimeException
Thrown to indicate that an error has occurred when parsing the content file.
If this exception is thrown, it is possible that the format of the content file you defined is not correct, or that there is an error in the JSON syntax.
- 導入されたバージョン:
- 1.0.0
- 関連項目:
- 直列化された形式
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ContentParsingException()
Constructs anContentParsingException
with no detail message.ContentParsingException(String s)
Constructs anContentParsingException
with the specified detail message.ContentParsingException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.ContentParsingException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? -
メソッドの概要
クラスから継承されたメソッド java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
コンストラクタの詳細
-
ContentParsingException
public ContentParsingException()Constructs anContentParsingException
with no detail message. -
ContentParsingException
Constructs anContentParsingException
with the specified detail message.- パラメータ:
s
- the detail message.
-
ContentParsingException
Constructs a new exception with the specified detail message and cause.Note that the detail message associated with
cause
is not automatically incorporated in this exception's detail message.- パラメータ:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
ContentParsingException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString())(which typically contains the class and detail message of cause. This constructor is useful for exceptions that are little more than wrappers for other throwables (for example,PrivilegedActionException
).- パラメータ:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-