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
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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