設備啟動失敗錯誤

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, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier)代替

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)

該構造函數已被棄用。
使用DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier)代替

建構一個新的 (@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 :此錯誤的錯誤識別碼。