private static Exception ConfigurationExceptionHelper(string key, string msg) { return new System.Configuration.ConfigurationErrorsException(String.Format("{0} Key: {1}: @{2}", msg, SECTIONNAME, key)); } }