Class TarException
TarException represents exceptions specific to Tar classes and code.
Inheritance
System.Object
System.Exception
TarException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ICSharpCode.SharpZipLib.Tar
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
[Serializable]
public class TarException : SharpZipBaseException, ISerializable
Constructors
| Improve this Doc View SourceTarException()
Initialise a new instance of TarException.
Declaration
public TarException()
TarException(SerializationInfo, StreamingContext)
Initializes a new instance of the TarException class with serialized data.
Declaration
protected TarException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
TarException(String)
Initialise a new instance of TarException with its message string.
Declaration
public TarException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A System.String that describes the error. |
TarException(String, Exception)
Initialise a new instance of TarException.
Declaration
public TarException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A System.String that describes the error. |
System.Exception | innerException | The System.Exception that caused this exception. |
Implements
System.Runtime.Serialization.ISerializable