NTT DOCOMO and Hitachi Kokusai Electric Know-how & Confidential

com.docomo_um.module
クラス ExternalStatusException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.docomo_um.module.ExternalStatusException

public class ExternalStatusException
extends java.lang.Exception

モジュールの外部状態が原因で発生する例外クラスです。UIMなどが原因で発生します。


フィールドの概要
static int UIM_BUSY
          UIMにアクセスできません。
static int UIM_FULL_LOCK
          PINが完全ロックされています。
static int UIM_NOT_INSERTED
          UIMが挿入されていません。
static int UIM_PIN_REQUIRED
          PINコードの照合が必要です。
static int UIM_PUK_REQUIRED
          ロック解除コードの入力が必要です。
static int UIM_WRONG
          使用できないUIMです。
static int UNDEFINED
          ステータスが未定義であることを示します。
 
コンストラクタの概要
ExternalStatusException()
          例外の原因を示すステータス値と詳細メッセージを設定しないでインスタンスを生成します。
ExternalStatusException(int status)
          例外の原因を示すステータス値を設定してインスタンスを生成します。
ExternalStatusException(int status, java.lang.String msg)
          例外の原因を示すステータス値と詳細メッセージを設定してインスタンスを生成します。
 
メソッドの概要
 int getStatus()
          例外の原因を示すステータス値を取得します。
 
クラス java.lang.Throwable から継承されたメソッド
getMessage, printStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait
 

フィールドの詳細

UNDEFINED

public static final int UNDEFINED
ステータスが未定義であることを示します。

関連項目:
定数フィールド値

UIM_NOT_INSERTED

public static final int UIM_NOT_INSERTED
UIMが挿入されていません。

関連項目:
定数フィールド値

UIM_PIN_REQUIRED

public static final int UIM_PIN_REQUIRED
PINコードの照合が必要です。

関連項目:
定数フィールド値

UIM_PUK_REQUIRED

public static final int UIM_PUK_REQUIRED
ロック解除コードの入力が必要です。

関連項目:
定数フィールド値

UIM_FULL_LOCK

public static final int UIM_FULL_LOCK
PINが完全ロックされています。

関連項目:
定数フィールド値

UIM_BUSY

public static final int UIM_BUSY
UIMにアクセスできません。

関連項目:
定数フィールド値

UIM_WRONG

public static final int UIM_WRONG
使用できないUIMです。

関連項目:
定数フィールド値
コンストラクタの詳細

ExternalStatusException

public ExternalStatusException()
例外の原因を示すステータス値と詳細メッセージを設定しないでインスタンスを生成します。 ステータス値は、UNDEFINEDに設定されます。


ExternalStatusException

public ExternalStatusException(int status)
例外の原因を示すステータス値を設定してインスタンスを生成します。

パラメータ:
status - 設定するステータスの値を指定します。

ExternalStatusException

public ExternalStatusException(int status,
                               java.lang.String msg)
例外の原因を示すステータス値と詳細メッセージを設定してインスタンスを生成します。

パラメータ:
status - 設定するステータスの値を指定します。
msg - 詳細メッセージを指定します。
メソッドの詳細

getStatus

public int getStatus()
例外の原因を示すステータス値を取得します。

戻り値:
例外の原因を示すステータス値を返します。

Copyright © 2013 NTT DOCOMO, INC. and Hitachi Kokusai Electric Inc. All Rights Reserved.