DeviceDisconnectedException

public class DeviceDisconnectedException
extends DeviceNotAvailableException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.android.tradefed.device.DeviceNotAvailableException
         ↳ com.android.tradefed.device.DeviceDisconnectedException


Thrown when a device is no longer reachable via it's transport type. e.g. if the device is no longer visible via USB, or TCP/IP connection

Summary

Public constructors

DeviceDisconnectedException()

Creates a DeviceDisconnectedException.

DeviceDisconnectedException(String msg)

This constructor is deprecated. use DeviceDisconnectedException(String, String) instead

DeviceDisconnectedException(String msg, String serial)

Creates a DeviceDisconnectedException.

DeviceDisconnectedException(String msg, Throwable cause)

This constructor is deprecated. use DeviceDisconnectedException(String, Throwable, String) instead

DeviceDisconnectedException(String msg, Throwable cause, String serial)

Creates a DeviceDisconnectedException.

Public constructors

DeviceDisconnectedException

DeviceDisconnectedException ()

Creates a DeviceDisconnectedException.

DeviceDisconnectedException

DeviceDisconnectedException (String msg)

This constructor is deprecated.
use DeviceDisconnectedException(String, String) instead

Creates a DeviceDisconnectedException.

Parameters
msg String: a descriptive message.

DeviceDisconnectedException

DeviceDisconnectedException (String msg, 
                String serial)

Creates a DeviceDisconnectedException.

Parameters
msg String: a descriptive message.

serial String

DeviceDisconnectedException

DeviceDisconnectedException (String msg, 
                Throwable cause)

This constructor is deprecated.
use DeviceDisconnectedException(String, Throwable, String) instead

Creates a DeviceDisconnectedException.

Parameters
msg String: a descriptive message.

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

DeviceDisconnectedException

DeviceDisconnectedException (String msg, 
                Throwable cause, 
                String serial)

Creates a DeviceDisconnectedException.

Parameters
msg String: a descriptive message.

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

serial String