TarException.cs 1010 B

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