設備無響應異常

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 :導致設備不可用的根Throwable

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

設備無響應異常

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

創建一個DeviceUnresponsiveException

參數
msg String :描述性消息。

cause Throwable :導致設備不可用的根Throwable

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

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