Skip to main content

StreamDataException

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Base exception for stream-data and archive failures (concept §12). Carries the offending archive id where relevant.

public class StreamDataException : Exception, ISerializable

Inheritance Object → Exception → StreamDataException
Implements ISerializable

Properties​

ArchiveRtId​

public Nullable<OctoObjectId> ArchiveRtId { get; }

Property Value​

Nullable<OctoObjectId>

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

StreamDataException(String, Nullable<OctoObjectId>, Exception)​

public StreamDataException(string message, Nullable<OctoObjectId> archiveRtId, Exception inner)

Parameters​

message String

archiveRtId Nullable<OctoObjectId>

inner Exception

Methods​

Describe(OctoObjectId)​

Renders an archive id for a message. A rule that fires while the archive is still being created has no id to name yet and passes ; the zero id then read as a real archive and sent operators looking for '000000000000000000000000' (AB#5157 review), so an unassigned id renders as a plain phrase instead. A real id keeps its quoted form unchanged.

protected static string Describe(OctoObjectId archiveRtId)

Parameters​

archiveRtId OctoObjectId

Returns​

String