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; } } }