private static ClientContainer readConfig(final String configPath,
final ClassLoader loader) throws UserError, JAXBException,
FileNotFoundException, ParserConfigurationException,
SAXException, URISyntaxException,
IOException {
ClientContainer result = null;
Reader configReader = null;
String configFileLocationForErrorMessage = "";
try {
/*
* During a Java Web Start launch, the config is passed as a property