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: ตัวระบุข้อผิดพลาดสำหรับข้อผิดพลาดนี้ |