DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
java.lang.Object | ||
↳ | 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(String msg)
This constructor is deprecated.
use |
|
DeviceDisconnectedException(String msg, String serial)
Creates a |
|
DeviceDisconnectedException(String msg, Throwable cause)
This constructor is deprecated.
use
|
|
DeviceDisconnectedException(String msg, Throwable cause, String serial)
Creates a |
Public constructors
DeviceDisconnectedException
public DeviceDisconnectedException ()
Creates a DeviceDisconnectedException
.
DeviceDisconnectedException
public DeviceDisconnectedException (String msg)
This constructor is deprecated.
use DeviceDisconnectedException(String, String)
instead
Creates a DeviceDisconnectedException
.
Parameters | |
---|---|
msg |
String : a descriptive message. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, String serial)
Creates a DeviceDisconnectedException
.
Parameters | |
---|---|
msg |
String : a descriptive message.
|
serial |
String |
DeviceDisconnectedException
public 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
public 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 |