2020-01-11 17:56:12 +01:00
|
|
|
|
namespace Capnp.Rpc
|
2019-06-12 21:56:55 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Will be thrown if a type did not qualify as capability interface.
|
|
|
|
|
/// In order to qualify the type must be properly annotated with a <see cref="ProxyAttribute"/> and <see cref="SkeletonAttribute"/>.
|
|
|
|
|
/// See descriptions of these attributes for further details.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class InvalidCapabilityInterfaceException : System.Exception
|
|
|
|
|
{
|
2019-07-12 21:48:01 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Constructs an instance.
|
|
|
|
|
/// </summary>
|
2019-06-12 21:56:55 +02:00
|
|
|
|
public InvalidCapabilityInterfaceException(string message) : base(message)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-12 21:48:01 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Constructs an instance with message an inner exception.
|
|
|
|
|
/// </summary>
|
2019-06-12 21:56:55 +02:00
|
|
|
|
public InvalidCapabilityInterfaceException(string message, System.Exception innerException) : base(message, innerException)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-01-11 17:56:12 +01:00
|
|
|
|
}
|