パッケージ org.aiwolf.common
クラス AIWolfAgentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.aiwolf.common.AIWolfRuntimeException
org.aiwolf.common.AIWolfAgentException
- すべての実装されたインタフェース:
Serializable
人狼知能におけるエージェントの例外を扱うクラスです。
サーバのリクエスト中に発生した例外をラップし、スローします。
サーバのリクエスト中に発生した例外をラップし、スローします。
AI werewolf agent's exception.
- 作成者:
- tori
- 関連項目:
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
クラスから継承されたメソッド java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
コンストラクタの詳細
-
AIWolfAgentException
人狼知能における例外を構築します。Create new AI wolf game's exception.- パラメータ:
agent
-例外を起こしたエージェントAgentmethod
-例外が発生しているメソッド名Methodexception
-発生した例外Exception
-
-
メソッドの詳細
-
getAgent
例外を起こしたエージェントを返します。Get the agent who caused exception.- 戻り値:
- 例外を起こしたエージェントAgent who caused exception
-
getMethod
例外が発生しているメソッド名を返します。Get the method which caused exception.- 戻り値:
- 例外が発生しているメソッド名Method which caused exception
-
getException
発生した例外を返します。Get the exception.- 戻り値:
- 発生した例外Exception
-
printStackTrace
public void printStackTrace()- オーバーライド:
printStackTrace
クラス内Throwable
-
printStackTrace
- オーバーライド:
printStackTrace
クラス内Throwable
-
printStackTrace
- オーバーライド:
printStackTrace
クラス内Throwable
-