Class LinoProtocolException
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
kindLinoProtocolErrorKinddetailstringinnerExceptionException
LinoProtocolException(string)
public LinoProtocolException(string message)
Parameters
messagestring
LinoProtocolException(string, Exception)
public LinoProtocolException(string message, Exception innerException)
Parameters
Properties
Detail
The message without the category prefix.
public string Detail { get; }
Property Value
Kind
The category of the failure.
public LinoProtocolErrorKind Kind { get; }
Property Value
Methods
From(BinaryNotationException)
The same failure as error, raised by the links-notation codecs.
public static LinoProtocolException From(BinaryNotationException error)
Parameters
errorBinaryNotationException