static private Exception GetInnerException(ConfigurationException e) { if (e != null) { return e.InnerException; } return null; }