diff options
Diffstat (limited to 'ChocolArm64/Memory/MemoryProtectionException.cs')
-rw-r--r-- | ChocolArm64/Memory/MemoryProtectionException.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChocolArm64/Memory/MemoryProtectionException.cs b/ChocolArm64/Memory/MemoryProtectionException.cs new file mode 100644 index 00000000..3d2cebad --- /dev/null +++ b/ChocolArm64/Memory/MemoryProtectionException.cs @@ -0,0 +1,10 @@ +using System; + +namespace ChocolArm64.Memory +{ + class MemoryProtectionException : Exception + { + public MemoryProtectionException(MemoryProtection protection) : + base($"Failed to set memory protection to \"{protection}\".") { } + } +}
\ No newline at end of file |