NoDeviceException

public class NoDeviceException
extends HarnessRuntimeException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessRuntimeException
     ↳ com.android.tradefed.device.NoDeviceException


當沒有裝置執行指定指令時,系統會擲回此例外狀況。

摘要

公用建構函式

NoDeviceException(String msg, ErrorIdentifier errorId)

建立 NoDeviceException

公用建構函式

NoDeviceException

public NoDeviceException (String msg, 
                ErrorIdentifier errorId)

建立 NoDeviceException

參數
msg String:說明性訊息。

errorId ErrorIdentifier:將例外狀況分類的 ErrorIdentifier