TemplateResolutionError

public class TemplateResolutionError
extends ConfigurationException

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


Class extending ConfigurationException for template related error during configuration parsing. Allows this error to be easily detected.

Summary

Public constructors

TemplateResolutionError(String configName, String templateName)

Creates a TemplateResolutionError.

Public methods

String getConfigName()

Return the config name that raised the exception in the first place.

String getTemplateKey()

Return the template key that is used to replace the template.

Public constructors

TemplateResolutionError

public TemplateResolutionError (String configName, 
                String templateName)

Creates a TemplateResolutionError.

Parameters
configName String: the configuration name involved

templateName String: the key name that is used to replace the template.

Public methods

getConfigName

public String getConfigName ()

Return the config name that raised the exception in the first place.

Returns
String

getTemplateKey

public String getTemplateKey ()

Return the template key that is used to replace the template.

Returns
String