2020-01-11 17:21:31 +01:00

27 lines
705 B
C#

using System;
#nullable enable
namespace Capnp
{
/// <summary>
/// This exception gets thrown when a Cap'n Proto object could not be deserialized correctly.
/// </summary>
public class DeserializationException : Exception
{
/// <summary>
/// Constructs an instance
/// </summary>
public DeserializationException(string message) : base(message)
{
}
/// <summary>
/// Constructs an instance with message and inner exception
/// </summary>
public DeserializationException(string message, Exception innerException):
base(message, innerException)
{
}
}
}
#nullable restore