DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
| java.lang.Object | |||
| ↳ | com.android.tradefed.error.HarnessException | ||
| ↳ | 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(String msg, String serial)
Creates a |
|
DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId)
Creates a |
|
DeviceDisconnectedException(String msg, Throwable cause, String serial)
Creates a |
|
DeviceDisconnectedException(String msg, Throwable cause, String serial, ErrorIdentifier errorId)
Creates a |
|
Public constructors
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial)Creates a DeviceUnresponsiveException.
| Parameters | |
|---|---|
msg |
String: a descriptive message. |
serial |
String: the serial of the device concerned. |
DeviceDisconnectedException
public DeviceDisconnectedException (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. |
DeviceDisconnectedException
public DeviceDisconnectedException (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. |
DeviceDisconnectedException
public DeviceDisconnectedException (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. |