DeviceDisconnectedException

public class DeviceDisconnectedException
extends DeviceNotAvailableException

java.lang.Object
com.android.tradefed.error.HarnessException
com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.DeviceDisconnectedException


Emesso 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 DeviceUnresponsiveException .

DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId)

Crea DeviceUnresponsiveException .

DeviceDisconnectedException (String msg, Throwable cause, String serial)

Crea DeviceUnresponsiveException .

DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId)

Crea DeviceUnresponsiveException .

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 causato la non disponibilità del dispositivo.

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 causato la non disponibilità del dispositivo.

serial String : il seriale del dispositivo interessato.

errorId ErrorIdentifier : l'identificatore di errore per questo errore.