/Utilities/Compression/CompressionException.cs
C# | 41 lines | 20 code | 3 blank | 18 comment | 0 complexity | cb43974041c42822cbae9e763e8cfcc2 MD5 | raw file
Possible License(s): Apache-2.0
- using System;
-
- namespace Delta.Utilities.Compression
- {
- /// <summary>
- /// CompressionException is the base exception class for the SharpZipLibrary.
- /// All library exceptions are derived from this.
- /// </summary>
- public class CompressionException : ApplicationException
- {
- #region Constructors
- /// <summary>
- /// Initializes a new instance of the SharpZipLibraryException class.
- /// </summary>
- public CompressionException()
- {
- }
-
- /// <summary>
- /// Initializes a new instance of the SharpZipLibraryException class with
- /// a specified error message.
- /// </summary>
- public CompressionException(string msg)
- : base(msg)
- {
- }
-
- /// <summary>
- /// Initializes a new instance of the SharpZipLibraryException class with
- /// a specified error message and a reference to the inner exception that
- /// is the cause of this exception.
- /// </summary>
- /// <param name="message">Error message string</param>
- /// <param name="innerException">The inner exception</param>
- public CompressionException(string message, Exception innerException)
- : base(message, innerException)
- {
- }
- #endregion
- }
- }