mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
20 lines
478 B
C#
20 lines
478 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
|
|
{
|
|
public DeserializationException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public DeserializationException(string message, Exception innerException):
|
|
base(message, innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|