Show / Hide Table of Contents

Class StreamDecodingException

Indicates that an error occurred during decoding of a input stream due to corrupt data or (unintentional) library incompatibility.

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

Constructors

| Improve this Doc View Source

StreamDecodingException()

Initializes a new instance of the StreamDecodingException with a generic message

Declaration
public StreamDecodingException()
| Improve this Doc View Source

StreamDecodingException(SerializationInfo, StreamingContext)

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

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

StreamDecodingException(String)

Initializes a new instance of the StreamDecodingException class with a specified error message.

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

A message describing the exception.

| Improve this Doc View Source

StreamDecodingException(String, Exception)

Initializes a new instance of the StreamDecodingException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Declaration
public StreamDecodingException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

A message describing the exception.

System.Exception innerException

The inner exception

Implements

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