設備啟動失敗錯誤
public class DeviceFailedToBootError
extends BuildError
java.lang.Object | |||
↳ | com.android.tradefed.error.HarnessException | ||
↳ | com.android.tradefed.targetprep.BuildError | ||
↳ | com.android.tradefed.targetprep.DeviceFailedToBootError |
如果設備在使用構建刷新後無法啟動,則拋出。
概括
公共構造函數 | |
---|---|
DeviceFailedToBootError (String reason, DeviceDescriptor descriptor) | |
DeviceFailedToBootError (String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId) 構造一個帶有詳細錯誤消息的新 (@link DeviceFailedToBootError}。 | |
DeviceFailedToBootError (String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId) 構造一個帶有詳細錯誤消息的新 (@link DeviceFailedToBootError}。 |
公共構造函數
設備啟動失敗錯誤
public DeviceFailedToBootError (String reason, DeviceDescriptor descriptor)
構造一個帶有詳細錯誤消息的新 (@link DeviceFailedToBootError}。
參數 | |
---|---|
reason | String :一條錯誤消息,提供有關啟動失敗的更多詳細信息 |
descriptor | DeviceDescriptor :異常涉及的設備的描述符 |
設備啟動失敗錯誤
public DeviceFailedToBootError (String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)
構造一個帶有詳細錯誤消息的新 (@link DeviceFailedToBootError}。
參數 | |
---|---|
reason | String :一條錯誤消息,提供有關啟動失敗的更多詳細信息 |
descriptor | DeviceDescriptor :異常涉及的設備的描述符 |
errorId | ErrorIdentifier :此錯誤的錯誤標識符。 |
設備啟動失敗錯誤
public DeviceFailedToBootError (String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId)
構造一個帶有詳細錯誤消息的新 (@link DeviceFailedToBootError}。
參數 | |
---|---|
reason | String :一條錯誤消息,提供有關啟動失敗的更多詳細信息 |
descriptor | DeviceDescriptor :異常涉及的設備的描述符 |
cause | Throwable :異常的原始原因 |
errorId | ErrorIdentifier :此錯誤的錯誤標識符。 |