運行中斷異常

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

公共構造函數

運行中斷異常

public RunInterruptedException (String message, 
                ErrorIdentifier errorId)

建立一個RunInterruptedException

參數
message String : 與異常相關的訊息

errorId ErrorIdentifier :對異常進行分類的ErrorIdentifier

運行中斷異常

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

建立一個RunInterruptedException

參數
message String : 與異常相關的訊息

cause Throwable :異常的原因

errorId ErrorIdentifier :對異常進行分類的ErrorIdentifier