Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Events.GenericException Class Reference

Generic exception, with meta-data for logging. More...

Inheritance diagram for Waher.Events.GenericException:
Waher.Events.IEventType Waher.Events.IEventTags Waher.Events.IEventObject Waher.Events.IEventModule Waher.Events.IEventLevel Waher.Events.IEventId Waher.Events.IEventFacility Waher.Events.IEventActor

Public Member Functions

 GenericException (string Message, EventType? Type=null, string Object=null, string Actor=null, string EventId=null, EventLevel? Level=null, string Facility=null, string Module=null, params KeyValuePair< string, object >[] Tags)
 Generic exception, with meta-data for logging. More...
 
 GenericException (string Message, Exception InnerException, EventType? Type=null, string Object=null, string Actor=null, string EventId=null, EventLevel? Level=null, string Facility=null, string Module=null, params KeyValuePair< string, object >[] Tags)
 Generic exception, with meta-data for logging. More...
 

Properties

string Actor [get]
 Actor identifier related to the object. More...
 
string Facility [get]
 Facility identifier related to the object. More...
 
string EventId [get]
 Event identifier related to the object. More...
 
EventLevelLevel [get]
 Event level. More...
 
string Module [get]
 Module identifier related to the object. More...
 
string Object [get]
 Object identifier related to the object. More...
 
KeyValuePair< string, object >[] Tags [get]
 Tags related to the object. More...
 
EventTypeType [get]
 Event type. More...
 

Detailed Description

Generic exception, with meta-data for logging.

Definition at line 9 of file GenericException.cs.

Constructor & Destructor Documentation

◆ GenericException() [1/2]

Waher.Events.GenericException.GenericException ( string  Message,
EventType Type = null,
string  Object = null,
string  Actor = null,
string  EventId = null,
EventLevel Level = null,
string  Facility = null,
string  Module = null,
params KeyValuePair< string, object >[]  Tags 
)

Generic exception, with meta-data for logging.

Parameters
MessageFree-text event message.
TypeEvent Type.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 23 of file GenericException.cs.

◆ GenericException() [2/2]

Waher.Events.GenericException.GenericException ( string  Message,
Exception  InnerException,
EventType Type = null,
string  Object = null,
string  Actor = null,
string  EventId = null,
EventLevel Level = null,
string  Facility = null,
string  Module = null,
params KeyValuePair< string, object >[]  Tags 
)

Generic exception, with meta-data for logging.

Parameters
MessageFree-text event message.
InnerExceptionInner Exception.
TypeEvent Type.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 49 of file GenericException.cs.

Property Documentation

◆ Actor

string Waher.Events.GenericException.Actor
get

Actor identifier related to the object.

Implements Waher.Events.IEventActor.

Definition at line 67 of file GenericException.cs.

◆ EventId

string Waher.Events.GenericException.EventId
get

Event identifier related to the object.

Implements Waher.Events.IEventId.

Definition at line 77 of file GenericException.cs.

◆ Facility

string Waher.Events.GenericException.Facility
get

Facility identifier related to the object.

Implements Waher.Events.IEventFacility.

Definition at line 72 of file GenericException.cs.

◆ Level

EventLevel? Waher.Events.GenericException.Level
get

Event level.

Implements Waher.Events.IEventLevel.

Definition at line 82 of file GenericException.cs.

◆ Module

string Waher.Events.GenericException.Module
get

Module identifier related to the object.

Implements Waher.Events.IEventModule.

Definition at line 87 of file GenericException.cs.

◆ Object

string Waher.Events.GenericException.Object
get

Object identifier related to the object.

Implements Waher.Events.IEventObject.

Definition at line 92 of file GenericException.cs.

◆ Tags

KeyValuePair<string, object> [] Waher.Events.GenericException.Tags
get

Tags related to the object.

Implements Waher.Events.IEventTags.

Definition at line 97 of file GenericException.cs.

◆ Type

EventType? Waher.Events.GenericException.Type
get

Event type.

Implements Waher.Events.IEventType.

Definition at line 102 of file GenericException.cs.


The documentation for this class was generated from the following file: