aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs
diff options
context:
space:
mode:
authorLibravatar vman <public@vaughnnugent.com>2022-11-18 17:15:36 -0500
committerLibravatar vman <public@vaughnnugent.com>2022-11-18 17:15:36 -0500
commitdc7ad57c845cc9b1b502e5e8b12ce96af4183dc4 (patch)
tree0ac786ac1fe0f1c7cc96c81c92363e6f760d036a /VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs
parent647ee25d7f71d3984a951a83a73b7c1aa506a402 (diff)
Add project files.
Diffstat (limited to 'VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs')
-rw-r--r--VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs b/VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs
new file mode 100644
index 0000000..e8f19c5
--- /dev/null
+++ b/VNLib.Data.Caching/src/Exceptions/MessageTooLargeException.cs
@@ -0,0 +1,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)
+ {}
+ }
+}