DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | com.android.tradefed.error.HarnessException | ||||
| ↳ | com.android.tradefed.device.DeviceNotAvailableException | ||||
| ↳ | com.android.tradefed.device.DeviceDisconnectedException | ||||
Generata quando un dispositivo non è più raggiungibile tramite il tipo di trasporto, ad es. 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 interessato. |
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 interessato. |
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: la Throwable principale che ha causato la mancata disponibilità del dispositivo. |
serial |
String: il numero di serie del dispositivo interessato. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial,
ErrorIdentifier errorId)Crea un DeviceUnresponsiveException.
| Parametri | |
|---|---|
msg |
String: un messaggio descrittivo. |
cause |
Throwable: la Throwable principale che ha causato la mancata disponibilità del dispositivo. |
serial |
String: il numero di serie del dispositivo interessato. |
errorId |
ErrorIdentifier: l'identificatore dell'errore. |