ClassNotFoundConfigurationException

public class ClassNotFoundConfigurationException
extends ConfigurationException

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


ConfigurationException สำหรับกรณีที่ระบบไม่พบคลาสของออบเจ็กต์

สรุป

เครื่องมือสร้างสาธารณะ

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

สร้าง ClassNotFoundConfigurationException

ClassNotFoundConfigurationException(String msg, Throwable cause, ErrorIdentifier error, Map<String, String> rejectedObjects)

สร้าง ClassNotFoundConfigurationException

เมธอดสาธารณะ

Map<String, String> getRejectedObjects()

แสดงผลแผนที่ของคลาสออบเจ็กต์ที่ถูกปฏิเสธ

เครื่องมือสร้างสาธารณะ

ClassNotFoundConfigurationException

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

สร้าง ClassNotFoundConfigurationException

พารามิเตอร์
msg String: ข้อความแสดงข้อผิดพลาดที่มีความหมาย

cause Throwable: Throwable ที่แสดงถึงสาเหตุเดิมของข้อผิดพลาด

error ErrorIdentifier: ErrorIdentifier ที่เชื่อมโยงกับข้อยกเว้น

className String: คลาสของออบเจ็กต์ที่ระบบไม่พบ

objectType String: ประเภทออบเจ็กต์ Tradefed ของออบเจ็กต์ที่ระบบไม่พบ

ClassNotFoundConfigurationException

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

สร้าง ClassNotFoundConfigurationException

พารามิเตอร์
msg String: ข้อความแสดงข้อผิดพลาดที่มีความหมาย

cause Throwable: Throwable ที่แสดงถึงสาเหตุเดิมของข้อผิดพลาด

error ErrorIdentifier: ErrorIdentifier ที่เชื่อมโยงกับข้อยกเว้น

rejectedObjects Map: แผนที่ของออบเจ็กต์ที่โหลดไม่สำเร็จ

เมธอดสาธารณะ

getRejectedObjects

public Map<String, String> getRejectedObjects ()

แสดงผลแผนที่ของคลาสออบเจ็กต์ที่ถูกปฏิเสธ

การคืนสินค้า
Map<String, String>