DeviceDisconnectedException
public
class
DeviceDisconnectedException
extends DeviceNotAvailableException
java.lang.Object | |||
↳ | com.android.tradefed.error.HarnessException | ||
↳ | com.android.tradefed.device.DeviceNotAvailableException | ||
↳ | com.android.tradefed.device.DeviceDisconnectedException |
Bir cihaz artık aktarım türü üzerinden erişilebilir olmadığında (ör.cihaz USB veya TCP/IP bağlantısı üzerinden artık görünmüyorsa) tetiklenir.
Özet
Herkese açık kurucular | |
---|---|
DeviceDisconnectedException(String msg, String serial)
Bir |
|
DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId)
Bir |
|
DeviceDisconnectedException(String msg, Throwable cause, String serial)
Bir |
|
DeviceDisconnectedException(String msg, Throwable cause, String serial, ErrorIdentifier errorId)
Bir |
Herkese açık kurucular
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, String serial)
Bir DeviceUnresponsiveException
oluşturur.
Parametreler | |
---|---|
msg |
String : açıklayıcı bir mesaj. |
serial |
String : İlgili cihazın seri numarası. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId)
Bir DeviceUnresponsiveException
oluşturur.
Parametreler | |
---|---|
msg |
String : açıklayıcı bir mesaj. |
serial |
String : İlgili cihazın seri numarası. |
errorId |
ErrorIdentifier : Bu hatanın hata tanımlayıcısıdır. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, Throwable cause, String serial)
Bir DeviceUnresponsiveException
oluşturur.
Parametreler | |
---|---|
msg |
String : açıklayıcı bir mesaj. |
cause |
Throwable : Cihazın kullanılamamasına neden olan kök Throwable . |
serial |
String : İlgili cihazın seri numarası. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId)
Bir DeviceUnresponsiveException
oluşturur.
Parametreler | |
---|---|
msg |
String : açıklayıcı bir mesaj. |
cause |
Throwable : Cihazın kullanılamamasına neden olan kök Throwable . |
serial |
String : İlgili cihazın seri numarası. |
errorId |
ErrorIdentifier : Bu hatanın hata tanımlayıcısıdır. |