Stay organized with collections Save and categorize content based on your preferences.

DeviceUnresponsiveException

public class DeviceUnresponsiveException
extends DeviceNotAvailableException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessException
     ↳ com.android.tradefed.device.DeviceNotAvailableException
       ↳ com.android.tradefed.device.DeviceUnresponsiveException


A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (i.e., commands timing out, won't boot, etc)

Summary

Public constructors

DeviceUnresponsiveException(String msg, String serial)

Creates a DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, String serial, ErrorIdentifier errorId)

Creates a DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, Throwable cause, String serial)

Creates a DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, Throwable cause, String serial, ErrorIdentifier errorId)

Creates a DeviceUnresponsiveException.

Public constructors

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                String serial)

Creates a DeviceUnresponsiveException.

Parameters
msg String: a descriptive message.

serial String: the serial of the device concerned.

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                String serial, 
                ErrorIdentifier errorId)

Creates a DeviceUnresponsiveException.

Parameters
msg String: a descriptive message.

serial String: the serial of the device concerned.

errorId ErrorIdentifier: the error identifier for this error.

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                Throwable cause, 
                String serial)

Creates a DeviceUnresponsiveException.

Parameters
msg String: a descriptive message.

cause Throwable: the root Throwable that caused the device to become unavailable.

serial String: the serial of the device concerned.

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                Throwable cause, 
                String serial, 
                ErrorIdentifier errorId)

Creates a DeviceUnresponsiveException.

Parameters
msg String: a descriptive message.

cause Throwable: the root Throwable that caused the device to become unavailable.

serial String: the serial of the device concerned.

errorId ErrorIdentifier: the error identifier for this error.