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。 |