FatalHostError

public class FatalHostError
extends HarnessRuntimeException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessRuntimeException
     ↳ com.android.tradefed.command.FatalHostError


一个异常,表示运行 TradeFederation 的主机上发生了严重的不可恢复错误,并且应关闭 TradeFederation 实例。

摘要

公共构造函数

FatalHostError(String msg)

创建 FatalHostError

FatalHostError(String msg, ErrorIdentifier errorId)

创建 FatalHostError

FatalHostError(String msg, Throwable cause)

创建 FatalHostError

FatalHostError(String msg, Throwable cause, ErrorIdentifier errorId)

创建 FatalHostError

公共构造函数

FatalHostError

public FatalHostError (String msg)

创建 FatalHostError

参数
msg String:详细消息

严重主机错误

public FatalHostError (String msg, 
                ErrorIdentifier errorId)

创建 FatalHostError

参数
msg String:详细消息

errorId ErrorIdentifier:关联的错误标识符

严重主机错误

public FatalHostError (String msg, 
                Throwable cause)

创建 FatalHostError

参数
msg String:详细消息

cause Throwable:严重宿主错误的原始原因。

FatalHostError

public FatalHostError (String msg, 
                Throwable cause, 
                ErrorIdentifier errorId)

创建 FatalHostError

参数
msg String:详细消息

cause Throwable:严重宿主错误的原始原因。

errorId ErrorIdentifier:关联的错误标识符