public void SerializeABadTypeThrows()
 {
     System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
     BadConverterSection section = new BadConverterSection();
     section.BadConverter = new Exception();
     config.Sections.Add(sectionName, section);
     config.Save();
 }
        public void SerializeABadTypeThrows()
        {
            SysConfig.Configuration config  = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
            BadConverterSection     section = new BadConverterSection();

            section.BadConverter = new Exception();
            config.Sections.Add(sectionName, section);
            config.Save();
        }