using System;
using System.Runtime.Serialization;
namespace ICSharpCode.SharpZipLib.Tar
{
///
/// TarException represents exceptions specific to Tar classes and code.
///
[Serializable]
public class TarException : SharpZipBaseException
{
///
/// Initialise a new instance of .
///
public TarException()
{
}
///
/// Initialise a new instance of with its message string.
///
/// A that describes the error.
public TarException(string message)
: base(message)
{
}
///
/// Initialise a new instance of .
///
/// A that describes the error.
/// The that caused this exception.
public TarException(string message, Exception innerException)
: base(message, innerException)
{
}
///
/// Initializes a new instance of the TarException 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 TarException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}