クラス 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

      public ContentParsingException()
      Constructs an ContentParsingException with no detail message.
    • ContentParsingException

      public ContentParsingException​(String s)
      Constructs an ContentParsingException with the specified detail message.
      パラメータ:
      s - the detail message.
    • ContentParsingException

      public ContentParsingException​(String message, Throwable cause)
      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 the Throwable.getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
    • ContentParsingException

      public ContentParsingException​(Throwable cause)
      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 the Throwable.getCause() method). (A nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)