BZip2Exception.cs 1.0 KB

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