DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
| java.lang.Object | |||
| ↳ | com.android.tradefed.error.HarnessException | ||
| ↳ | com.android.tradefed.device.DeviceNotAvailableException | ||
| ↳ | com.android.tradefed.device.DeviceDisconnectedException | ||
デバイスがそのトランスポート タイプ経由で到達できなくなった場合にスローされます(USB 接続や TCP/IP 接続経由でデバイスが検出されなくなった場合など)。
概要
パブリック コンストラクタ | |
|---|---|
DeviceDisconnectedException(String msg, String serial)
|
|
DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId)
|
|
DeviceDisconnectedException(String msg, Throwable cause, String serial)
|
|
DeviceDisconnectedException(String msg, Throwable cause, String serial, ErrorIdentifier errorId)
|
|
パブリック コンストラクタ
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial)DeviceUnresponsiveException を作成します。
| パラメータ | |
|---|---|
msg |
String: 説明的なメッセージ。 |
serial |
String: 該当するデバイスのシリアル番号。 |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial,
ErrorIdentifier errorId)DeviceUnresponsiveException を作成します。
| パラメータ | |
|---|---|
msg |
String: 説明的なメッセージ。 |
serial |
String: 該当するデバイスのシリアル番号。 |
errorId |
ErrorIdentifier: このエラーのエラー識別子。 |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial)DeviceUnresponsiveException を作成します。
| パラメータ | |
|---|---|
msg |
String: 説明的なメッセージ。 |
cause |
Throwable: デバイスが使用できなくなった原因となったルート Throwable。 |
serial |
String: 該当するデバイスのシリアル番号。 |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial,
ErrorIdentifier errorId)DeviceUnresponsiveException を作成します。
| パラメータ | |
|---|---|
msg |
String: 説明的なメッセージ。 |
cause |
Throwable: デバイスが使用できなくなった原因となったルート Throwable。 |
serial |
String: 該当するデバイスのシリアル番号。 |
errorId |
ErrorIdentifier: このエラーのエラー識別子。 |