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 אם לא נמצאת מחלקה של אובייקט.

סיכום

‫constructors ציבוריים

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

יצירת ClassNotFoundConfigurationException.

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

יצירת ClassNotFoundConfigurationException.

‫methods ציבוריים

Map<String, String> getRejectedObjects()

הפונקציה מחזירה את המיפוי של מחלקת האובייקט שנדחתה.

‫constructors ציבוריים

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: המפה של האובייקטים שלא נטען.

‫methods ציבוריים

getRejectedObjects

public Map<String, String> getRejectedObjects ()

מחזירה את המיפוי של מחלקת האובייקט שנדחתה.

החזרות
Map<String, String>