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


Se arroja cuando ya no se puede acceder a un dispositivo a través de su tipo de transporte, p. ej., si el dispositivo ya no está visible a través de USB o 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: Es 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: Es un mensaje descriptivo.

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

errorId ErrorIdentifier: Es el identificador del error.

DeviceDisconnectedException

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

Crea un DeviceUnresponsiveException.

Parámetros
msg String: Es un mensaje descriptivo.

cause Throwable: Es el Throwable raíz que provocó que el dispositivo no esté 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: Es un mensaje descriptivo.

cause Throwable: Es el Throwable raíz que provocó que el dispositivo no esté disponible.

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

errorId ErrorIdentifier: Es el identificador del error.