DeviceUnresponsiveException
public
class
DeviceUnresponsiveException
extends DeviceNotAvailableException
| java.lang.Object | |||
| ↳ | com.android.tradefed.error.HarnessException | ||
| ↳ | com.android.tradefed.device.DeviceNotAvailableException | ||
| ↳ | com.android.tradefed.device.DeviceUnresponsiveException | ||
DeviceNotAvailableException 的特殊化,表示设备对 adb 可见,但无响应(即命令超时、无法启动等)
摘要
公共构造函数 | |
|---|---|
DeviceUnresponsiveException(String msg, String serial)
|
|
DeviceUnresponsiveException(String msg, String serial, ErrorIdentifier errorId)
|
|
DeviceUnresponsiveException(String msg, Throwable cause, String serial)
|
|
DeviceUnresponsiveException(String msg, Throwable cause, String serial, ErrorIdentifier errorId)
|
|
公共构造函数
DeviceUnresponsiveException
public DeviceUnresponsiveException (String msg,
String serial)创建 DeviceUnresponsiveException。
| 参数 | |
|---|---|
msg |
String:描述性消息。 |
serial |
String:相关设备的序列号。 |
DeviceUnresponsiveException
public DeviceUnresponsiveException (String msg,
String serial,
ErrorIdentifier errorId)创建 DeviceUnresponsiveException。
| 参数 | |
|---|---|
msg |
String:描述性消息。 |
serial |
String:相关设备的序列号。 |
errorId |
ErrorIdentifier:此错误的错误标识符。 |
DeviceUnresponsiveException
public DeviceUnresponsiveException (String msg,
Throwable cause,
String serial)创建 DeviceUnresponsiveException。
| 参数 | |
|---|---|
msg |
String:描述性消息。 |
cause |
Throwable:导致设备不可用的原因 Throwable。 |
serial |
String:相关设备的序列号。 |
DeviceUnresponsiveException
public DeviceUnresponsiveException (String msg,
Throwable cause,
String serial,
ErrorIdentifier errorId)创建 DeviceUnresponsiveException。
| 参数 | |
|---|---|
msg |
String:描述性消息。 |
cause |
Throwable:导致设备不可用的原因 Throwable。 |
serial |
String:相关设备的序列号。 |
errorId |
ErrorIdentifier:此错误的错误标识符。 |