From cee712105850ac3385cd0091a923438167433f9f Mon Sep 17 00:00:00 2001
From: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
Date: Sat, 8 Apr 2023 01:22:00 +0200
Subject: Move solution and projects to src
---
.../Shader/DiskCache/DiskCacheLoadException.cs | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheLoadException.cs
(limited to 'src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheLoadException.cs')
diff --git a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheLoadException.cs b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheLoadException.cs
new file mode 100644
index 00000000..d6e23302
--- /dev/null
+++ b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheLoadException.cs
@@ -0,0 +1,48 @@
+using System;
+
+namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
+{
+ ///
+ /// Disk cache load exception.
+ ///
+ class DiskCacheLoadException : Exception
+ {
+ ///
+ /// Result of the cache load operation.
+ ///
+ public DiskCacheLoadResult Result { get; }
+
+ ///
+ /// Creates a new instance of the disk cache load exception.
+ ///
+ public DiskCacheLoadException()
+ {
+ }
+
+ ///
+ /// Creates a new instance of the disk cache load exception.
+ ///
+ /// Exception message
+ public DiskCacheLoadException(string message) : base(message)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the disk cache load exception.
+ ///
+ /// Exception message
+ /// Inner exception
+ public DiskCacheLoadException(string message, Exception inner) : base(message, inner)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the disk cache load exception.
+ ///
+ /// Result code
+ public DiskCacheLoadException(DiskCacheLoadResult result) : base(result.GetMessage())
+ {
+ Result = result;
+ }
+ }
+}
\ No newline at end of file
--
cgit v1.2.3