12 private readonly System.Exception exception;
13 private readonly
string label;
49 public string Label => this.label;
57 Output.WriteAttributeString(
"type", this.exception.GetType().FullName);
58 Output.WriteAttributeString(
"messsage", this.exception.Message);
60 if (!
string.IsNullOrEmpty(this.label))
61 Output.WriteAttributeString(
"label", this.label);
63 base.ExportXmlAttributes(Output, Previous,
TimeUnit);
65 Output.WriteElementString(
"StackTrace", this.exception.StackTrace);
74 Output.Append(this.ordinal.ToString());
75 Output.Append(
" -> ");
78 if (!
string.IsNullOrEmpty(this.label))
80 Output.Append(
" : \"");
81 Output.Append(this.label.Replace(
'"',
'\''));
System.Exception ExceptionObject
Exception object.
override string PlantUmlState
override void ExportPlantUmlPreparation()
Prepares the event for export to PlantUML
string Label
Name of event.
override string EventType
Exception(long Ticks, System.Exception Exception, string Label, ProfilerThread Thread)
Exception occurred
override void ExportXmlAttributes(XmlWriter Output, ProfilerEvent Previous, TimeUnit TimeUnit)
Exports event attributes to XML.
Exception(long Ticks, System.Exception Exception, ProfilerThread Thread)
Exception occurred
override void ExportPlantUml(PlantUmlStates States)
Exports events to PlantUML.
Abstract base class for profiler events.
ProfilerThread Thread
Profiler thread generating the event.
Contains internal states used during generation of PlantUML diagram.s
StringBuilder GetBuilder(long Ticks)
Gets the PlantUML output StringBuilder associated with a time-point.
int GetExceptionOrdinal(System.Exception Exception)
Gets the ordinal for a type of exception.
Class that keeps track of events and timing for one thread.
Profiler Profiler
Profiler reference.
string Key
Thread key in diagrams.
TimeUnit
Options for presenting time in reports.