ClassNotFoundConfigurationException

public class ClassNotFoundConfigurationException
extends ConfigurationException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ 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)

Creates a SandboxConfigurationException.

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

Creates a SandboxConfigurationException.

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

Creates a SandboxConfigurationException.

Public methods

Map<String, String> getRejectedObjects()

Returns the map of object class that was rejected.

Public constructors

ClassNotFoundConfigurationException

public ClassNotFoundConfigurationException (String msg)

Creates a SandboxConfigurationException.

Parameters
msg String: a meaningful error message

ClassNotFoundConfigurationException

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

Creates a SandboxConfigurationException.

Parameters
msg String: a meaningful error message

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

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, 
                Map<String, String> rejectedObjects)

Creates a SandboxConfigurationException.

Parameters
msg String: a meaningful error message

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

rejectedObjects Map: The map of objects that failed loading.

Public methods

getRejectedObjects

public Map<String, String> getRejectedObjects ()

Returns the map of object class that was rejected.

Returns
Map<String, String>