Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
StateMachineException.cs
1using System;
2using Waher.Events;
3
5{
9 public class StateMachineException : Exception, IEventObject
10 {
17 this(StateMachine?.StateMachineId ?? string.Empty, Message)
18 {
19 }
20
26 public StateMachineException(string StateMachineId, string Message) :
27 base(Message)
28 {
29 this.StateMachineId = StateMachineId;
30 }
31
35 public string StateMachineId { get; }
36
40 public string Object => this.StateMachineId;
41 }
42}
StateMachineException(StateMachine StateMachine, string Message)
Exception related to state machine.
StateMachineException(string StateMachineId, string Message)
Exception related to state machine.
Class representing a state machine.
Definition: StateMachine.cs:43
Implement this interface on exception classes to allow the log to extract object information in corre...
Definition: IEventObject.cs:8