ObjectThrowable
Exception
RuntimeException
com.nttdocomo.ui.UIException
UI例外を定義します。 UIパッケージのコンポーネントなどが実行時例外を起こしたことを 示すために投げられます。例外の詳細は、getStatus メソッドで得ることができます。
| フィールドの概要 | |
static int |
BUSY_RESOURCE
リソースが使用中であることを示します (=3)。 |
static int |
ILLEGAL_STATE
状態が不正であることを示します (=1)。 |
static int |
NO_RESOURCES
リソースが確保できないことを示します (=2)。 |
protected static int |
STATUS_FIRST
この例外で使用するステータスコードの最初の値です (=0)。 |
protected static int |
STATUS_LAST
この例外で使用するステータスコードの最後の値です (=63)。 |
static int |
UNDEFINED
ステータスが未定義であることを示します (=0)。 |
static int |
UNSUPPORTED_FORMAT
サポートしていないフォーマットであることを示します (=4)。 |
| コンストラクタの概要 | |
UIException()
詳細メッセージをつけないで UI 例外オブジェクトを生成します。 |
|
UIException(int status)
ステータス値をつけて UI 例外オブジェクトを生成します。 |
|
UIException(int status,
String msg)
ステータス値と詳細メッセージをつけて UI 例外オブジェクトを生成します。 |
|
| メソッドの概要 | |
int |
getStatus()
ステータスを取得します。 |
| クラス Throwable から継承したメソッド |
getMessage, printStackTrace, toString |
| クラス Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public static final int UNDEFINED
public static final int ILLEGAL_STATE
public static final int NO_RESOURCES
public static final int BUSY_RESOURCE
public static final int UNSUPPORTED_FORMAT
protected static final int STATUS_FIRST
protected static final int STATUS_LAST
| コンストラクタの詳細 |
public UIException()
UNDEFINEDに設定されます。
public UIException(int status)
status - 設定するステータスの値を指定します。
public UIException(int status,
String msg)
status - 設定するステータスの値を指定します。msg - 詳細メッセージを指定します。| メソッドの詳細 |
public int getStatus()