GZipException.cs 1019 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. namespace ICSharpCode.SharpZipLib.GZip
  3. {
  4. /// <summary>
  5. /// GZipException represents exceptions specific to GZip classes and code.
  6. /// </summary>
  7. public class GZipException : SharpZipBaseException
  8. {
  9. /// <summary>
  10. /// Initialise a new instance of <see cref="GZipException" />.
  11. /// </summary>
  12. public GZipException()
  13. {
  14. }
  15. /// <summary>
  16. /// Initialise a new instance of <see cref="GZipException" /> with its message string.
  17. /// </summary>
  18. /// <param name="message">A <see cref="string"/> that describes the error.</param>
  19. public GZipException(string message)
  20. : base(message)
  21. {
  22. }
  23. /// <summary>
  24. /// Initialise a new instance of <see cref="GZipException" />.
  25. /// </summary>
  26. /// <param name="message">A <see cref="string"/> that describes the error.</param>
  27. /// <param name="innerException">The <see cref="Exception"/> that caused this exception.</param>
  28. public GZipException(string message, Exception innerException)
  29. : base(message, innerException)
  30. {
  31. }
  32. }
  33. }