DeviceDisconnectedException
public class DeviceDisconnectedException
extends DeviceNotAvailableException
| java.lang.object | |||
| ↳ | com.android.tradefed.error.HarnessException | ||
| ↳ | com.android.tradefed.device.DeviceNotAvailableException | ||
| ↳ | com.android.tradefed.device.DeviceDisconnectedException | ||
هنگامی که دستگاه دیگر از طریق نوع حمل و نقل آن قابل دسترسی نباشد پرتاب می شود، به عنوان مثال اگر دستگاه دیگر از طریق USB یا اتصال TCP/IP قابل مشاهده نباشد
خلاصه
سازندگان عمومی | |
|---|---|
DeviceDisconnectedException (String msg, String serial) یک | |
DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId) یک | |
DeviceDisconnectedException (String msg, Throwable cause, String serial) یک | |
DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId) یک | |
سازندگان عمومی
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial) یک DeviceUnresponsiveException ایجاد می کند.
| پارامترها | |
|---|---|
msg | String : یک پیام توصیفی. |
serial | String : سریال دستگاه مربوطه. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
String serial,
ErrorIdentifier errorId) یک DeviceUnresponsiveException ایجاد می کند.
| پارامترها | |
|---|---|
msg | String : یک پیام توصیفی. |
serial | String : سریال دستگاه مربوطه. |
errorId | ErrorIdentifier : شناسه خطا برای این خطا. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial) یک DeviceUnresponsiveException ایجاد می کند.
| پارامترها | |
|---|---|
msg | String : یک پیام توصیفی. |
cause | Throwable : ریشه Throwable که باعث شده دستگاه در دسترس نباشد. |
serial | String : سریال دستگاه مربوطه. |
DeviceDisconnectedException
public DeviceDisconnectedException (String msg,
Throwable cause,
String serial,
ErrorIdentifier errorId) یک DeviceUnresponsiveException ایجاد می کند.
| پارامترها | |
|---|---|
msg | String : یک پیام توصیفی. |
cause | Throwable : ریشه Throwable که باعث شده دستگاه در دسترس نباشد. |
serial | String : سریال دستگاه مربوطه. |
errorId | ErrorIdentifier : شناسه خطا برای این خطا. |