NoDeviceException
public
class
NoDeviceException
extends HarnessRuntimeException
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | com.android.tradefed.error.HarnessRuntimeException | ||||
| ↳ | com.android.tradefed.device.NoDeviceException | ||||
在没有设备来执行给定命令时抛出。
摘要
公共构造函数 | |
|---|---|
NoDeviceException(String msg, ErrorIdentifier errorId)
|
|
公共构造函数
NoDeviceException
public NoDeviceException (String msg,
ErrorIdentifier errorId)| 参数 | |
|---|---|
msg |
String:描述性消息。 |
errorId |
ErrorIdentifier:对异常进行分类的 ErrorIdentifier。 |