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

ConfigurationException

public class ConfigurationException
extends HarnessException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessException
     ↳ com.android.tradefed.config.ConfigurationException


Thrown if configuration could not be loaded.

Summary

Public constructors

ConfigurationException(String msg)

Creates a ConfigurationException.

ConfigurationException(String msg, ErrorIdentifier error)

Creates a ConfigurationException.

ConfigurationException(String msg, Throwable cause)

Creates a ConfigurationException.

ConfigurationException(String msg, Throwable cause, ErrorIdentifier error)

Creates a ConfigurationException.

Public constructors

ConfigurationException

public ConfigurationException (String msg)

Creates a ConfigurationException.

Parameters
msg String: a meaningful error message

ConfigurationException

public ConfigurationException (String msg, 
                ErrorIdentifier error)

Creates a ConfigurationException.

Parameters
msg String: a meaningful error message

error ErrorIdentifier: The ErrorIdentifier associated with the exception

ConfigurationException

public ConfigurationException (String msg, 
                Throwable cause)

Creates a ConfigurationException.

Parameters
msg String: a meaningful error message

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

ConfigurationException

public ConfigurationException (String msg, 
                Throwable cause, 
                ErrorIdentifier error)

Creates a ConfigurationException.

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