Stay organized with collections Save and categorize content based on your preferences.

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 for when the class of an object is not found.

Summary

Public constructors

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

Creates a ClassNotFoundConfigurationException.

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

Creates a ClassNotFoundConfigurationException.

Public methods

getRejectedObjects()

Returns the map of object class that was rejected.

Public constructors

ClassNotFoundConfigurationException

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

Creates a ClassNotFoundConfigurationException.

Parameters
msg String: a meaningful error message

cause Throwable: the Throwable that represents the original cause of the error

error ErrorIdentifier: The ErrorIdentifier associated with the exception

className String: the class of the object that was not found

objectType String: the Tradefed object type of the object that was not found

ClassNotFoundConfigurationException

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

Creates a ClassNotFoundConfigurationException.

Parameters
msg String: a meaningful error message

cause Throwable: the Throwable that represents the original cause of the error

error ErrorIdentifier: The ErrorIdentifier associated with the exception

rejectedObjects : The map of objects that failed loading.

Public methods

getRejectedObjects

public  getRejectedObjects ()

Returns the map of object class that was rejected.

Returns