パッケージ org.aiwolf.common
クラス AIWolfException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.aiwolf.common.AIWolfException
- すべての実装されたインタフェース:
Serializable
人狼知能における例外を扱うクラスです。
AI wolf game's exception.
- 関連項目:
-
コンストラクタの概要
コンストラクタコンストラクタ説明人狼知能に関する新規例外を構築します。AIWolfException
(String message) 指定された詳細メッセージを持つ、人狼知能に関する新規例外を構築します。AIWolfException
(String message, Throwable cause) 指定された詳細メッセージおよび原因を使用して 新規例外を構築します。AIWolfException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) 指定された詳細メッセージ、原因、抑制の有効化または 無効化、書込み可能スタック・トレースの有効化または 無効化に基づいて、新しい例外を構築します。AIWolfException
(Throwable cause) 指定された原因と詳細メッセージ(cause==null ? null : cause.toString())
を持つ新しい例外を構築します。 -
メソッドの概要
クラスから継承されたメソッド java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
コンストラクタの詳細
-
AIWolfException
public AIWolfException()人狼知能に関する新規例外を構築します。Constructs a new AI wolf game's exception. -
AIWolfException
指定された詳細メッセージを持つ、人狼知能に関する新規例外を構築します。Constructs a new AI wolf game's exception with the specified detail message.- パラメータ:
message
-詳細メッセージDetail message
-
AIWolfException
指定された詳細メッセージおよび原因を使用して 新規例外を構築します。Constructs a new AI wolf game's exception with the specified detail message and cause.- パラメータ:
message
-詳細メッセージDetail messagecause
-原因Cause
-
AIWolfException
public AIWolfException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) 指定された詳細メッセージ、原因、抑制の有効化または 無効化、書込み可能スタック・トレースの有効化または 無効化に基づいて、新しい例外を構築します。Constructs a new AI wolf game's exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.- パラメータ:
message
-詳細メッセージDetail messagecause
-原因CauseenableSuppression
-抑制の有効化または無効化Whether or not suppression is enabled or disabledwritableStackTrace
-書込み可能スタック・トレースの有効化または 無効化Whether or not the stack trace should be writable
-
AIWolfException
指定された原因と詳細メッセージ(cause==null ? null : cause.toString())
を持つ新しい例外を構築します。Constructs a new AI wolf game's exception with the specified cause and a detail message of(cause==null ? null : cause.toString())
.- パラメータ:
cause
-原因Cause
-