aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Exceptions/VmmOutOfMemoryException.cs
blob: d6ddf75227f4a21bea27313b1dcd7306e8d19ab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;

namespace ChocolArm64.Exceptions
{
    public class VmmAccessException : Exception
    {
        private const string ExMsg = "Memory region at 0x{0} with size 0x{1} is not contiguous!";

        public VmmAccessException() { }

        public VmmAccessException(long position, long size) : base(string.Format(ExMsg, position, size)) { }
    }
}