2019-07-12 21:48:01 +02:00

26 lines
671 B
C#

using System;
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)
{
}
}
}