Show / Hide Table of Contents

Class BZip2Exception

BZip2Exception represents exceptions specific to BZip2 classes and code.

Inheritance
System.Object
System.Exception
SharpZipBaseException
BZip2Exception
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.BZip2
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
[Serializable]
public class BZip2Exception : SharpZipBaseException, ISerializable

Constructors

| Improve this Doc View Source

BZip2Exception()

Initialise a new instance of BZip2Exception.

Declaration
public BZip2Exception()
| Improve this Doc View Source

BZip2Exception(SerializationInfo, StreamingContext)

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

Declaration
protected BZip2Exception(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

BZip2Exception(String)

Initialise a new instance of BZip2Exception with its message string.

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

A System.String that describes the error.

| Improve this Doc View Source

BZip2Exception(String, Exception)

Initialise a new instance of BZip2Exception.

Declaration
public BZip2Exception(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
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors