デバイス切断例外
public class DeviceDisconnectedException
extends DeviceNotAvailableException
java.lang.オブジェクト | |||
↳ | 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) |
パブリックコンストラクター
デバイス切断例外
public DeviceDisconnectedException (String msg, String serial)
DeviceUnresponsiveException
を作成します。
パラメーター | |
---|---|
msg | String : 説明メッセージ。 |
serial | String : 該当するデバイスのシリアル。 |
デバイス切断例外
public DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId)
DeviceUnresponsiveException
を作成します。
パラメーター | |
---|---|
msg | String : 説明メッセージ。 |
serial | String : 該当するデバイスのシリアル。 |
errorId | ErrorIdentifier : このエラーのエラー識別子。 |
デバイス切断例外
public DeviceDisconnectedException (String msg, Throwable cause, String serial)
DeviceUnresponsiveException
を作成します。
パラメーター | |
---|---|
msg | String : 説明メッセージ。 |
cause | Throwable : デバイスが使用できなくなる原因となったルートThrowable 。 |
serial | String : 該当するデバイスのシリアル。 |
デバイス切断例外
public DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId)
DeviceUnresponsiveException
を作成します。
パラメーター | |
---|---|
msg | String : 説明メッセージ。 |
cause | Throwable : デバイスが使用できなくなる原因となったルートThrowable 。 |
serial | String : 該当するデバイスのシリアル。 |
errorId | ErrorIdentifier : このエラーのエラー識別子。 |