RunInterruptedException
public
class
RunInterruptedException
extends HarnessRuntimeException
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | com.android.tradefed.error.HarnessRuntimeException | ||||
| ↳ | com.android.tradefed.util.RunInterruptedException | ||||
當執行作業因外部要求而中斷時,系統會擲回這個例外狀況。
摘要
公用建構函式 | |
|---|---|
RunInterruptedException(String message, ErrorIdentifier errorId)
|
|
RunInterruptedException(String message, Throwable cause, ErrorIdentifier errorId)
|
|
公用建構函式
RunInterruptedException
public RunInterruptedException (String message,
ErrorIdentifier errorId)| 參數 | |
|---|---|
message |
String:與例外狀況相關聯的郵件 |
errorId |
ErrorIdentifier:將例外狀況分類的 ErrorIdentifier。 |
RunInterruptedException
public RunInterruptedException (String message,
Throwable cause,
ErrorIdentifier errorId)| 參數 | |
|---|---|
message |
String:與例外狀況相關聯的郵件 |
cause |
Throwable:例外狀況的原因 |
errorId |
ErrorIdentifier:將例外狀況分類的 ErrorIdentifier。 |