DeviceUnresponsiveException

public class DeviceUnresponsiveException
extends DeviceNotAvailableException

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


Một chuyên môn của DeviceNotAvailableException cho biết thiết bị hiển thị với adb, nhưng không phản hồi (tức là lệnh hết thời gian chờ, không khởi động, v.v.)

Tóm tắt

Hàm khởi tạo công khai

DeviceUnresponsiveException(String msg, String serial)

Tạo DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, String serial, ErrorIdentifier errorId)

Tạo DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, Throwable cause, String serial)

Tạo DeviceUnresponsiveException.

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

Tạo DeviceUnresponsiveException.

Hàm khởi tạo công khai

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                String serial)

Tạo DeviceUnresponsiveException.

Tham số
msg String: một thông báo mô tả.

serial String: số sê-ri của thiết bị có liên quan.

DeviceUnresponsiveException

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

Tạo DeviceUnresponsiveException.

Tham số
msg String: một thông báo mô tả.

serial String: số sê-ri của thiết bị có liên quan.

errorId ErrorIdentifier: giá trị nhận dạng lỗi cho lỗi này.

DeviceUnresponsiveException

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

Tạo DeviceUnresponsiveException.

Tham số
msg String: một thông báo mô tả.

cause Throwable: Throwable gốc khiến thiết bị không hoạt động.

serial String: số sê-ri của thiết bị có liên quan.

DeviceUnresponsiveException

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

Tạo DeviceUnresponsiveException.

Tham số
msg String: một thông báo mô tả.

cause Throwable: Throwable gốc khiến thiết bị không hoạt động.

serial String: số sê-ri của thiết bị có liên quan.

errorId ErrorIdentifier: giá trị nhận dạng lỗi cho lỗi này.