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