DeviceDisconnectedException

public class DeviceDisconnectedException
extends DeviceNotAvailableException

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


Se genera cuando ya no se puede acceder a un dispositivo a través de su tipo de transporte, p. ej., si el dispositivo ya no es visible a través de USB o de una conexión TCP/IP.

Resumen

Constructores públicos

DeviceDisconnectedException(String msg, String serial)

Crea un DeviceUnresponsiveException.

DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId)

Crea un DeviceUnresponsiveException.

DeviceDisconnectedException(String msg, Throwable cause, String serial)

Crea un DeviceUnresponsiveException.

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

Crea un DeviceUnresponsiveException.

Constructores públicos

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                String serial)

Crea un DeviceUnresponsiveException.

Parámetros
msg String: Un mensaje descriptivo.

serial String: Es el número de serie del dispositivo en cuestión.

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                String serial, 
                ErrorIdentifier errorId)

Crea un DeviceUnresponsiveException.

Parámetros
msg String: Un mensaje descriptivo.

serial String: Es el número de serie del dispositivo en cuestión.

errorId ErrorIdentifier: Es el identificador de error de este error.

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                Throwable cause, 
                String serial)

Crea un DeviceUnresponsiveException.

Parámetros
msg String: Un mensaje descriptivo.

cause Throwable: Es el Throwable raíz que hizo que el dispositivo no estuviera disponible.

serial String: Es el número de serie del dispositivo en cuestión.

DeviceDisconnectedException

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

Crea un DeviceUnresponsiveException.

Parámetros
msg String: Un mensaje descriptivo.

cause Throwable: Es el Throwable raíz que hizo que el dispositivo no estuviera disponible.

serial String: Es el número de serie del dispositivo en cuestión.

errorId ErrorIdentifier: Es el identificador de error de este error.