DeviceUnresponsiveException

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

公用建構函式

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                String serial)

建立 DeviceUnresponsiveException

參數
msg String:說明性訊息。

serial String:相關裝置的序號。

DeviceUnresponsiveException

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

建立 DeviceUnresponsiveException

參數
msg String:說明性訊息。

serial String:相關裝置的序號。

errorId ErrorIdentifier:此錯誤的錯誤 ID。

DeviceUnresponsiveException

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

建立 DeviceUnresponsiveException

參數
msg String:說明性訊息。

cause Throwable:導致裝置無法使用的根源 Throwable

serial String:相關裝置的序號。

DeviceUnresponsiveException

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

建立 DeviceUnresponsiveException

參數
msg String:說明性訊息。

cause Throwable:導致裝置無法使用的根源 Throwable

serial String:相關裝置的序號。

errorId ErrorIdentifier:此錯誤的錯誤 ID。