aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Data.Caching/src/Exceptions/ObjectNotFoundException.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/ObjectNotFoundException.cs
parent647ee25d7f71d3984a951a83a73b7c1aa506a402 (diff)
Add project files.
Diffstat (limited to 'VNLib.Data.Caching/src/Exceptions/ObjectNotFoundException.cs')
-rw-r--r--VNLib.Data.Caching/src/Exceptions/ObjectNotFoundException.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/VNLib.Data.Caching/src/Exceptions/ObjectNotFoundException.cs b/VNLib.Data.Caching/src/Exceptions/ObjectNotFoundException.cs
new file mode 100644
index 0000000..fb284f3
--- /dev/null
+++ b/VNLib.Data.Caching/src/Exceptions/ObjectNotFoundException.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace VNLib.Data.Caching.Exceptions
+{
+ /// <summary>
+ /// Raised when a command was executed on a desired object in the remote cache
+ /// but the object was not found
+ /// </summary>
+ public class ObjectNotFoundException : InvalidStatusException
+ {
+ internal ObjectNotFoundException()
+ {}
+
+ internal ObjectNotFoundException(string message) : base(message)
+ {}
+
+ internal ObjectNotFoundException(string message, string statusCode) : base(message, statusCode)
+ {}
+
+ internal ObjectNotFoundException(string message, Exception innerException) : base(message, innerException)
+ {}
+ }
+}