Give a better cause for some errors when parsing configuration.

Failed to run command: com.android.tradefed.config.ConfigurationException: Failed to parse config xml 'test.xml'
    becomes
Failed to run command: com.android.tradefed.config.ConfigurationException: Failed to parse config xml 'test.xml' due to 'org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 30; The string "--" is not permitted within comments.'

    and

Failed to run command: com.android.tradefed.config.ConfigurationException: Failed to parse config xml '/tmp/monkey.xml'. Reason: Missing 'value' attribute for option
    becomes
Failed to run command: com.android.tradefed.config.ConfigurationException: Failed to parse config xml '/tmp/monkey.xml'. Reason: Missing 'value' attribute for option 'log-level-display'

Change-Id: I0a5af2614eab6ba7779b36255171143ae7c0607d
1 file changed