設備無響應異常

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

DeviceUnresponsiveException (String msg, String serial, ErrorIdentifier errorId)

創建DeviceUnresponsiveException

DeviceUnresponsiveException (String msg, Throwable cause, String serial)

創建DeviceUnresponsiveException

DeviceUnresponsiveException (String msg, Throwable cause, String serial, ErrorIdentifier errorId)

創建DeviceUnresponsiveException

公共構造函數

設備無響應異常

public DeviceUnresponsiveException (String msg, 
                String serial)

創建DeviceUnresponsiveException

參數
msg String :描述性消息。

serial String : 相關設備的序列號。

設備無響應異常

public DeviceUnresponsiveException (String msg, 
                String serial, 
                ErrorIdentifier errorId)

創建DeviceUnresponsiveException

參數
msg String :描述性消息。

serial String : 相關設備的序列號。

errorId ErrorIdentifier :此錯誤的錯誤標識符。

設備無響應異常

public DeviceUnresponsiveException (String msg, 
                Throwable cause, 
                String serial)

創建DeviceUnresponsiveException

參數
msg String :描述性消息。

cause Throwable :導致設備不可用的根ERROR(/Throwable)

serial String : 相關設備的序列號。

設備無響應異常

public DeviceUnresponsiveException (String msg, 
                Throwable cause, 
                String serial, 
                ErrorIdentifier errorId)

創建DeviceUnresponsiveException

參數
msg String :描述性消息。

cause Throwable :導致設備不可用的根ERROR(/Throwable)

serial String : 相關設備的序列號。

errorId ErrorIdentifier :此錯誤的錯誤標識符。