運行中斷異常
public class RunInterruptedException
extends HarnessRuntimeException
java.lang.Object | ||
↳ | com.android.tradefed.error.HarnessRuntimeException | |
↳ | com.android.tradefed.util.RunInterruptedException |
當運行操作被外部請求中斷時拋出。
概括
公共構造函數 | |
---|---|
RunInterruptedException (String message, ErrorIdentifier errorId) 創建一個 | |
RunInterruptedException (String message, Throwable cause, ErrorIdentifier errorId) 創建一個 |
公共構造函數
運行中斷異常
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 。 |