Table of Contents

Class LinoProtocolException

Namespace
Foundation.Data.Doublets.Cli.Protocol
Assembly
Foundation.Data.Doublets.Cli.dll

Raised by the LiNo network protocols (issue #105).

public sealed class LinoProtocolException : Exception, ISerializable
Inheritance
LinoProtocolException
Implements
Inherited Members

Remarks

The codecs of Link.Foundation.Links.Notation.Binary raise a Link.Foundation.Links.Notation.Binary.BinaryNotationException; every protocol, server, client and archive entry point converts it into this exception with the same kind and detail, keeping the original as InnerException.

Constructors

LinoProtocolException()

public LinoProtocolException()

LinoProtocolException(LinoProtocolErrorKind, string, Exception?)

public LinoProtocolException(LinoProtocolErrorKind kind, string detail, Exception? innerException = null)

Parameters

kind LinoProtocolErrorKind
detail string
innerException Exception

LinoProtocolException(string)

public LinoProtocolException(string message)

Parameters

message string

LinoProtocolException(string, Exception)

public LinoProtocolException(string message, Exception innerException)

Parameters

message string
innerException Exception

Properties

Detail

The message without the category prefix.

public string Detail { get; }

Property Value

string

Kind

The category of the failure.

public LinoProtocolErrorKind Kind { get; }

Property Value

LinoProtocolErrorKind

Methods

The same failure as error, raised by the links-notation codecs.

public static LinoProtocolException From(BinaryNotationException error)

Parameters

error BinaryNotationException

Returns

LinoProtocolException