RunInterruptedException

public class RunInterruptedException
extends HarnessRuntimeException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessRuntimeException
     ↳ com.android.tradefed.util.RunInterruptedException


當外部要求中斷執行作業時,系統會擲回此例外狀況。

摘要

公用建構函式

RunInterruptedException(String message, ErrorIdentifier errorId)

建立 RunInterruptedException

RunInterruptedException(String message, Throwable cause, ErrorIdentifier errorId)

建立 RunInterruptedException

公用建構函式

RunInterruptedException

public RunInterruptedException (String message, 
                ErrorIdentifier errorId)

建立 RunInterruptedException

參數
message String:與例外狀況相關聯的訊息

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

RunInterruptedException

public RunInterruptedException (String message, 
                Throwable cause, 
                ErrorIdentifier errorId)

建立 RunInterruptedException

參數
message String:與例外狀況相關聯的訊息

cause Throwable:例外狀況的原因

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