|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
common.client.AbstractConsole.SystemExitException
public static class AbstractConsole.SystemExitException
アプリケーションを指定された終了コードで終了させる用通知する例外。
そこらじゅうで System.exit(int)
i してしまわないように定義。
ただし、画面へのエラー表示などは、例外スロー前に済ませること。
コンストラクタの概要 | |
---|---|
AbstractConsole.SystemExitException(ExitStatus exit)
終了コードを設定して例外を作成する。 |
|
AbstractConsole.SystemExitException(ExitStatus exit,
String message)
終了コード、エラーメッセージを設定して例外を作成する。 |
|
AbstractConsole.SystemExitException(ExitStatus exit,
String message,
Throwable cause)
終了コード、エラーメッセージ、エラー原因を設定して例外を作成する。 |
|
AbstractConsole.SystemExitException(ExitStatus exit,
Throwable cause)
終了コード、エラー原因の例外を設定して例外を作成する。 |
メソッドの概要 | |
---|---|
ExitStatus |
getExitStatus()
アプリケーション終了時に返すべき終了コード(戻り値)を返す。 |
クラス java.lang.Throwable から継承されたメソッド |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public AbstractConsole.SystemExitException(ExitStatus exit)
exit
- 返すべき終了コード(戻り値)public AbstractConsole.SystemExitException(ExitStatus exit, String message)
exit
- 返すべき終了コード(戻り値)message
- エラーメッセージpublic AbstractConsole.SystemExitException(ExitStatus exit, Throwable cause)
exit
- 返すべき終了コード(戻り値)cause
- エラー原因の例外public AbstractConsole.SystemExitException(ExitStatus exit, String message, Throwable cause)
exit
- 戻すべき終了コード(戻り値)message
- エラーメッセージcause
- エラー原因の例外メソッドの詳細 |
---|
public ExitStatus getExitStatus()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |