DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
| java.lang.Object | |||
| ↳ | com.android.tradefed.error.HarnessException | ||
| ↳ | com.android.tradefed.device.DeviceNotAvailableException | ||
| ↳ | com.android.tradefed.device.DeviceDisconnectedException | ||
Viene generato quando un dispositivo non è più raggiungibile tramite il relativo tipo di trasporto, ad esempio se il dispositivo non è più visibile tramite USB o connessione TCP/IP
Riepilogo
Costruttori pubblici | |
|---|---|
DeviceDisconnectedException(String msg, String serial)
Crea un |
|
DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId)
Crea un |
|
DeviceDisconnectedException(String msg, Throwable cause, String serial)
Crea un |
|
DeviceDisconnectedException(String msg, Throwable cause, String serial, ErrorIdentifier errorId)
Crea un |
|
Costruttori pubblici
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial)Crea un DeviceUnresponsiveException.
| Parametri | |
|---|---|
msg |
String: un messaggio descrittivo. |
serial |
String: il numero di serie del dispositivo in questione. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial,
ErrorIdentifier errorId)Crea un DeviceUnresponsiveException.
| Parametri | |
|---|---|
msg |
String: un messaggio descrittivo. |
serial |
String: il numero di serie del dispositivo in questione. |
errorId |
ErrorIdentifier: l'identificatore dell'errore. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial)Crea un DeviceUnresponsiveException.
| Parametri | |
|---|---|
msg |
String: un messaggio descrittivo. |
cause |
Throwable: il Throwable principale che ha causato la mancata disponibilità del dispositivo. |
serial |
String: il numero di serie del dispositivo in questione. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial,
ErrorIdentifier errorId)Crea un DeviceUnresponsiveException.
| Parametri | |
|---|---|
msg |
String: un messaggio descrittivo. |
cause |
Throwable: il Throwable principale che ha causato la mancata disponibilità del dispositivo. |
serial |
String: il numero di serie del dispositivo in questione. |
errorId |
ErrorIdentifier: l'identificatore dell'errore. |