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