DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | 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: このエラーのエラー識別子。 |