//ZipException.cs
using System;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
/// Thrown whenever an error occurs during the build.
[Serializable]
public class ZipException : ApplicationException {
/// Constructs an exception with no descriptive information.
public ZipException() : base() {
}
/// Constructs an exception with a descriptive message.
/// The error message that explains the reason for the exception.
public ZipException(String message) : base(message) {
}
/// Constructs an exception with a descriptive message and a reference to the instance of the Exception that is the root cause of the this exception.
/// The error message that explains the reason for the exception.
/// An instance of Exception that is the cause of the current Exception. If is non-null, then the current Exception is raised in a catch block handling innerException.