mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 23:01:44 +01:00
26 lines
671 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|