RunInterruptedException

public class RunInterruptedException
extends HarnessRuntimeException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessRuntimeException
     ↳ com.android.tradefed.util.RunInterruptedException


Được gửi khi một yêu cầu bên ngoài làm gián đoạn thao tác chạy.

Tóm tắt

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

RunInterruptedException(String message, ErrorIdentifier errorId)

Tạo RunInterruptedException.

RunInterruptedException(String message, Throwable cause, ErrorIdentifier errorId)

Tạo RunInterruptedException.

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

RunInterruptedException

public RunInterruptedException (String message, 
                ErrorIdentifier errorId)

Tạo RunInterruptedException.

Tham số
message String: Thông báo liên kết với ngoại lệ

errorId ErrorIdentifier: ErrorIdentifier phân loại ngoại lệ.

RunInterruptedException

public RunInterruptedException (String message, 
                Throwable cause, 
                ErrorIdentifier errorId)

Tạo RunInterruptedException.

Tham số
message String: Thông báo liên kết với ngoại lệ

cause Throwable: Nguyên nhân gây ra ngoại lệ

errorId ErrorIdentifier: ErrorIdentifier phân loại ngoại lệ.