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:此錯誤的錯誤 ID。 |
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:此錯誤的錯誤 ID。 |