aspnetcore/src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs

30 lines
795 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0.
// See THIRD-PARTY-NOTICES.TXT in the project root for license information.
using System.Runtime.Serialization;
namespace System.Net.Http.HPack
{
// TODO: Should this be public?
[Serializable]
internal class HPackDecodingException : Exception
{
public HPackDecodingException()
{
}
public HPackDecodingException(string message) : base(message)
{
}
public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
{
}
public HPackDecodingException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}