TemplateResolutionError

public class TemplateResolutionError
extends ConfigurationException

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

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

String getConfigName ()

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

Returns
String

getTemplateKey

String getTemplateKey ()

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

Returns
String