using System; namespace ICSharpCode.SharpZipLib { /// /// SharpZipBaseException is the base exception class for SharpZipLib. /// All library exceptions are derived from this. /// /// NOTE: Not all exceptions thrown will be derived from this class. /// A variety of other exceptions are possible for example public class SharpZipBaseException : Exception { /// /// Initializes a new instance of the SharpZipBaseException class. /// public SharpZipBaseException() { } /// /// Initializes a new instance of the SharpZipBaseException class with a specified error message. /// /// A message describing the exception. public SharpZipBaseException(string message) : base(message) { } /// /// Initializes a new instance of the SharpZipBaseException class with a specified /// error message and a reference to the inner exception that is the cause of this exception. /// /// A message describing the exception. /// The inner exception public SharpZipBaseException(string message, Exception innerException) : base(message, innerException) { } } }