Google is committed to advancing racial equity for Black communities. See how.

DeviceFailedToBootError

public class DeviceFailedToBootError
extends BuildError

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.android.tradefed.error.HarnessException
         ↳ com.android.tradefed.targetprep.BuildError
           ↳ com.android.tradefed.targetprep.DeviceFailedToBootError


Thrown if a device fails to boot after being flashed with a build.

Summary

Public constructors

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor)

This constructor is deprecated. Use DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier) instead

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

Constructs a new (@link DeviceFailedToBootError} with a detailed error message.

Public constructors

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor)

This constructor is deprecated.
Use DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier) instead

Constructs a new (@link DeviceFailedToBootError} with a detailed error message.

Parameters
reason String: an error message giving more details about the boot failure

descriptor DeviceDescriptor: the descriptor of the device concerned by the exception

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                ErrorIdentifier errorId)

Constructs a new (@link DeviceFailedToBootError} with a detailed error message.

Parameters
reason String: an error message giving more details about the boot failure

descriptor DeviceDescriptor: the descriptor of the device concerned by the exception

errorId ErrorIdentifier