ClassNotFoundConfigurationException

public class ClassNotFoundConfigurationException
extends ConfigurationException

java.lang.Object
com.android.tradefed.error.HarnessException
com.android.tradefed.config.ConfigurationException
com.android.tradefed.config.ClassNotFoundConfigurationException


ConfigurationException khi không tìm thấy lớp của đối tượng.

Bản tóm tắt

Nhà thầu xây dựng công cộng

ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, String className, String objectType)

Tạo một ClassNotFoundConfigurationException .

ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, rejectedObjects) ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, rejectedObjects)

Tạo một ClassNotFoundConfigurationException .

Phương pháp công khai

getRejectedObjects ()

Trả về bản đồ của lớp đối tượng đã bị từ chối.

Nhà thầu xây dựng công cộng

ClassNotFoundConfigurationException

public ClassNotFoundConfigurationException (String msg, 
                Throwable cause, 
                ErrorIdentifier error, 
                String className, 
                String objectType)

Tạo một ClassNotFoundConfigurationException .

Thông số
msg String : một thông báo lỗi có ý nghĩa

cause Throwable : Throwable đại diện cho nguyên nhân ban đầu của lỗi

error ErrorIdentifier : ErrorIdentifier liên quan đến ngoại lệ

className String : lớp của đối tượng không được tìm thấy

objectType String : loại đối tượng Tradefed của đối tượng không được tìm thấy

ClassNotFoundConfigurationException

public ClassNotFoundConfigurationException (String msg, 
                Throwable cause, 
                ErrorIdentifier error, 
                 rejectedObjects)

Tạo một ClassNotFoundConfigurationException .

Thông số
msg String : một thông báo lỗi có ý nghĩa

cause Throwable : Throwable đại diện cho nguyên nhân ban đầu của lỗi

error ErrorIdentifier : ErrorIdentifier liên quan đến ngoại lệ

rejectedObjects : Bản đồ các đối tượng không tải được.

Phương pháp công khai

nhận được các đối tượng bị từ chối

public  getRejectedObjects ()

Trả về bản đồ của lớp đối tượng đã bị từ chối.

Trả lại