1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 08:36:41 +00:00
Ryujinx/ChocolArm64/Exceptions/VmmOutOfMemoryException.cs

13 lines
360 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using System;
namespace ChocolArm64.Exceptions
{
public class VmmAccessException : Exception
2018-02-04 23:08:20 +00:00
{
private const string ExMsg = "Memory region at 0x{0} with size 0x{1} is not contiguous!";
2018-02-04 23:08:20 +00:00
public VmmAccessException() { }
2018-02-04 23:08:20 +00:00
public VmmAccessException(long position, long size) : base(string.Format(ExMsg, position, size)) { }
2018-02-04 23:08:20 +00:00
}
}