DeviceFailedToBootError

public class DeviceFailedToBootError
extends BuildError

java.lang.Object
   ↳ 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.

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor, Throwable cause, 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: the error identifier for this error.

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                Throwable cause, 
                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

cause Throwable: The original cause of the exception

errorId ErrorIdentifier: the error identifier for this error.