ConfigurationErrorsException.cs 1.6 KB

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace EasyDevCore.Configuration
  7. {
  8. /// <summary>
  9. /// System.Configuration.ConfigurationManager also in https://www.nuget.org/packages/System.Configuration.ConfigurationManager/
  10. /// </summary>
  11. public class ConfigurationErrorsException : Exception
  12. {
  13. /// <summary>Initializes a new instance of the <see cref="ConfigurationErrorsException" /> class.</summary>
  14. public ConfigurationErrorsException() { }
  15. /// <summary>Initializes a new instance of the <see cref="ConfigurationErrorsException" /> class.</summary>
  16. /// <param name="message">The message that describes the error.</param>
  17. public ConfigurationErrorsException(string message) : base(message) { }
  18. /// <summary>Initializes a new instance of the <see cref="ConfigurationErrorsException" /> class.</summary>
  19. /// <param name="message">The error message that explains the reason for the exception.</param>
  20. /// <param name="innerException">
  21. /// The exception that is the cause of the current exception, or a null reference (<span class="keyword"><span class="languageSpecificText"><span class="cs">null</span><span class="vb">Nothing</span><span class="cpp">nullptr</span></span></span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span> in Visual Basic) if no inner exception is specified.
  22. /// </param>
  23. public ConfigurationErrorsException(string message, Exception innerException)
  24. : base(message, innerException) { }
  25. }
  26. }