using System;
using System.Runtime.Serialization;
namespace ICSharpCode.SharpZipLib.GZip
{
///
/// GZipException represents exceptions specific to GZip classes and code.
///
[Serializable]
public class GZipException : SharpZipBaseException
{
///
/// Initialise a new instance of .
///
public GZipException()
{
}
///
/// Initialise a new instance of with its message string.
///
/// A that describes the error.
public GZipException(string message)
: base(message)
{
}
///
/// Initialise a new instance of .
///
/// A that describes the error.
/// The that caused this exception.
public GZipException(string message, Exception innerException)
: base(message, innerException)
{
}
///
/// Initializes a new instance of the GZipException class with serialized data.
///
///
/// The System.Runtime.Serialization.SerializationInfo that holds the serialized
/// object data about the exception being thrown.
///
///
/// The System.Runtime.Serialization.StreamingContext that contains contextual information
/// about the source or destination.
///
protected GZipException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}