Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SerializationException.cs
1using System;
2using Waher.Events;
3
5{
9 public class SerializationException : Exception, IEventObject
10 {
11 private readonly Type type;
12
18 public SerializationException(string Message, Type Type)
19 : base(Message)
20 {
21 this.type = Type;
22 }
23
27 public Type Type => this.type;
28
32 public string Object => this.type.FullName;
33 }
34}
Exception ocurring during serialization or deserialization of objects.
string Object
Object identifier related to the object.
SerializationException(string Message, Type Type)
Exception ocurring during serialization or deserialization of objects.
Type Type
Type of object being serialized or deserialized.
Implement this interface on exception classes to allow the log to extract object information in corre...
Definition: IEventObject.cs:8