DeviceUnresponsiveException

public class DeviceUnresponsiveException
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.DeviceUnresponsiveException


Một trường hợp đặc biệt 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 một DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, String serial, ErrorIdentifier errorId)

Tạo một DeviceUnresponsiveException.

DeviceUnresponsiveException(String msg, Throwable cause, String serial)

Tạo một DeviceUnresponsiveException.

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

Tạo một DeviceUnresponsiveException.

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

DeviceUnresponsiveException

public DeviceUnresponsiveException (String msg, 
                String serial)

Tạo một DeviceUnresponsiveException.

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

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

DeviceUnresponsiveException

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

Tạo một DeviceUnresponsiveException.

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

serial String: số sê-ri của thiết bị 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 một DeviceUnresponsiveException.

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

cause Throwable: Throwable gốc khiến thiết bị không dùng được.

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

DeviceUnresponsiveException

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

Tạo một DeviceUnresponsiveException.

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

cause Throwable: Throwable gốc khiến thiết bị không dùng được.

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

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