|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--com.nttdocomo.io.ConnectionException
通信例外を定義します。 com.nttdocomo.io, com.nttdocomo.net の入出力処理において 例外が発生したことを示すために使用します。 例外の詳細は getStatusメソッドで得ることができます。
| フィールドの概要 | |
static int |
HTTP_ERROR
HTTP サーバがエラーを返したことを表します (=10)。 |
static int |
ILLEGAL_STATE
オブジェクトの状態が不正であることを表します (=1)。 |
static int |
IMODE_LOCKED
i-modeがロックされていることを表します (=6)。 |
static int |
NO_RESOURCE
リソースが確保できなかったことを表します (=2)。 |
static int |
NO_USE
i-modeサービス圏外であることを表します (=4)。 |
static int |
OBEX_ERROR
OBEX がエラーを返したことを表します (=12)。 |
static int |
OUT_OF_SERVICE
ネットワーク圏外であることを表します (=5)。 |
static int |
RESOURCE_BUSY
リソースが使用中であることを表します (=3)。 |
static int |
SCRATCHPAD_OVERSIZE
スクラッチパッドの大きさを越えたことを表します (=11)。 |
static int |
SELF_MODE
セルフモードであることを表します (=13)。 |
static int |
SSL_ERROR
SSL通信時にエラーが発生したことを表します(=14)。 |
static int |
STATUS_FIRST
システム定義の例外の最初の値です。 |
static int |
STATUS_LAST
システム定義の例外の最後の値です。 |
static int |
SYSTEM_ABORT
処理をシステムが中止したことを表します (=9)。 |
static int |
TIMEOUT
処理がタイムアウトしたことを表します (=7)。 |
static int |
UNDEFINED
未定義の例外を表します (=0)。 |
static int |
USER_ABORT
処理をユーザが中止したことを表します (=8)。 |
| コンストラクタの概要 | |
ConnectionException()
詳細メッセージをつけないで通信例外オブジェクトを生成します。 |
|
ConnectionException(int status)
詳細メッセージをつけないで通信例外オブジェクトを生成します。 |
|
ConnectionException(int status,
java.lang.String msg)
詳細メッセージをつけて通信例外オブジェクトを生成します。 |
|
| メソッドの概要 | |
int |
getStatus()
例外の原因を表すステータス値を取得します。 |
| クラス java.lang.Throwable から継承したメソッド |
getMessage, printStackTrace, toString |
| クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public static final int ILLEGAL_STATE
public static final int NO_RESOURCE
public static final int RESOURCE_BUSY
public static final int NO_USE
public static final int OUT_OF_SERVICE
public static final int IMODE_LOCKED
public static final int TIMEOUT
public static final int USER_ABORT
public static final int SYSTEM_ABORT
public static final int HTTP_ERROR
public static final int SCRATCHPAD_OVERSIZE
public static final int OBEX_ERROR
public static final int SELF_MODE
public static final int SSL_ERROR
public static final int UNDEFINED
public static final int STATUS_FIRST
public static final int STATUS_LAST
| コンストラクタの詳細 |
public ConnectionException()
public ConnectionException(int status)
status - 例外の原因を表す整数値を指定します。
public ConnectionException(int status,
java.lang.String msg)
status - 例外の原因を表す整数値を指定します。msg - 詳細メッセージを指定します。| メソッドの詳細 |
public int getStatus()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||