无设备异常
public class NoDeviceException
extends HarnessRuntimeException
java.lang.Object | ||
↳ | com.android.tradefed.error.HarnessRuntimeException | |
↳ | com.android.tradefed.device.NoDeviceException |
当没有设备可以执行给定命令时抛出。
概括
公共构造函数 | |
---|---|
NoDeviceException (String msg, ErrorIdentifier errorId) 创建一个 |
公共构造函数
无设备异常
public NoDeviceException (String msg, ErrorIdentifier errorId)
创建一个NoDeviceException
。
参数 | |
---|---|
msg | String :描述性消息。 |
errorId | ErrorIdentifier :对异常进行分类的ErrorIdentifier 。 |