Show / Hide Table of Contents

Class InvalidHeaderException

This exception is used to indicate that there is a problem with a TAR archive header.

Inheritance
System.Object
System.Exception
SharpZipBaseException
TarException
InvalidHeaderException
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 InvalidHeaderException : TarException, ISerializable

Constructors

| Improve this Doc View Source

InvalidHeaderException()

Initialise a new instance of the InvalidHeaderException class.

Declaration
public InvalidHeaderException()
| Improve this Doc View Source

InvalidHeaderException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidHeaderException class with serialized data.

Declaration
protected InvalidHeaderException(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.

| Improve this Doc View Source

InvalidHeaderException(String)

Initialises a new instance of the InvalidHeaderException class with a specified message.

Declaration
public InvalidHeaderException(string message)
Parameters
Type Name Description
System.String message

Message describing the exception cause.

| Improve this Doc View Source

InvalidHeaderException(String, Exception)

Initialise a new instance of InvalidHeaderException

Declaration
public InvalidHeaderException(string message, Exception exception)
Parameters
Type Name Description
System.String message

Message describing the problem.

System.Exception exception

The exception that is the cause of the current exception.

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors