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。

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。