运行中断异常

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