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>