設備無響應異常

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 :此錯誤的錯誤識別碼。