Show / Hide Table of Contents

Class BencodeException

Represents a bencode error.
Inheritance
System.Object
System.Exception
BencodeException
InvalidBencodeException
UnsupportedBencodeException
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: ItsyBitsy.Bencoding
Assembly: ItsyBitsy.Bencoding.dll
Syntax
[Serializable]
public abstract class BencodeException : Exception, ISerializable

Constructors

| Improve this Doc View Source

BencodeException()

Initializes a new instance of the BencodeException class.
Declaration
protected BencodeException()
| Improve this Doc View Source

BencodeException(Nullable<String>)

Initializes a new instance of the BencodeException class with the specified error message.
Declaration
protected BencodeException(string? message)
Parameters
Type Name Description
System.Nullable<System.String> message The error message.
| Improve this Doc View Source

BencodeException(Nullable<String>, Nullable<Exception>)

Initializes a new instance of the BencodeException class with the specified error message and inner exception that is the cause of this exception.
Declaration
protected BencodeException(string? message, Exception? inner)
Parameters
Type Name Description
System.Nullable<System.String> message The error message.
System.Nullable<System.Exception> inner The inner exception that is the cause of this exception.
| Improve this Doc View Source

BencodeException(SerializationInfo, StreamingContext)

Initializes a new instance of the BencodeException class with serialized data.
Declaration
protected BencodeException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info The serialized object data about the exception being thrown.
System.Runtime.Serialization.StreamingContext context The contextual information about the source or destination.
Exceptions
Type Condition
System.ArgumentNullException
System.Runtime.Serialization.SerializationException

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX