2018-02-05 00:08:20 +01:00
|
|
|
using ChocolArm64.Memory;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace ChocolArm64.Exceptions
|
|
|
|
{
|
|
|
|
public class VmmAccessViolationException : Exception
|
|
|
|
{
|
2018-02-10 01:13:18 +01:00
|
|
|
private const string ExMsg = "Address 0x{0:x16} does not have \"{1}\" permission!";
|
2018-02-05 00:08:20 +01:00
|
|
|
|
|
|
|
public VmmAccessViolationException() { }
|
|
|
|
|
|
|
|
public VmmAccessViolationException(long Position, AMemoryPerm Perm) : base(string.Format(ExMsg, Position, Perm)) { }
|
|
|
|
}
|
|
|
|
}
|