DeviceDisconnectedException
public class DeviceDisconnectedException
extends DeviceNotAvailableException
java.lang.Oggetto | |||
↳ | com.android.tradefed.error.HarnessException | ||
↳ | com.android.tradefed.device.DeviceNotAvailableException | ||
↳ | com.android.tradefed.device.DeviceDisconnectedException |
Generato quando un dispositivo non è più raggiungibile tramite il suo 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 | |
DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId) Crea | |
DeviceDisconnectedException (String msg, Throwable cause, String serial) Crea | |
DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId) Crea |
Costruttori pubblici
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, String serial)
Crea DeviceUnresponsiveException
.
Parametri | |
---|---|
msg | String : un messaggio descrittivo. |
serial | String : il seriale del dispositivo interessato. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId)
Crea DeviceUnresponsiveException
.
Parametri | |
---|---|
msg | String : un messaggio descrittivo. |
serial | String : il seriale del dispositivo interessato. |
errorId | ErrorIdentifier : l'identificatore di errore per questo errore. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, Throwable cause, String serial)
Crea DeviceUnresponsiveException
.
Parametri | |
---|---|
msg | String : un messaggio descrittivo. |
cause | Throwable : la radice Throwable che ha reso il dispositivo non disponibile. |
serial | String : il seriale del dispositivo interessato. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId)
Crea DeviceUnresponsiveException
.
Parametri | |
---|---|
msg | String : un messaggio descrittivo. |
cause | Throwable : la radice Throwable che ha reso il dispositivo non disponibile. |
serial | String : il seriale del dispositivo interessato. |
errorId | ErrorIdentifier : l'identificatore di errore per questo errore. |