aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs
blob: e8f19c5dba9f3e1939c46f23aab91ac0b3078eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Runtime.Serialization;

using VNLib.Net.Messaging.FBM;

namespace VNLib.Data.Caching.Exceptions
{
    /// <summary>
    /// Raised when a request (or server response) calculates the size of the message to be too large to proccess
    /// </summary>
    public class MessageTooLargeException : FBMException
    {
        ///<inheritdoc/>
        public MessageTooLargeException()
        {}
        ///<inheritdoc/>
        public MessageTooLargeException(string message) : base(message)
        {}
        ///<inheritdoc/>
        public MessageTooLargeException(string message, Exception innerException) : base(message, innerException)
        {}
        ///<inheritdoc/>
        protected MessageTooLargeException(SerializationInfo info, StreamingContext context) : base(info, context)
        {}
    }
}