aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Memory/InvalidAccessException.cs
blob: ad540719579b989309305ec89d87c36d48e2e881 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;

namespace ARMeilleure.Memory
{
    class InvalidAccessException : Exception
    {
        public InvalidAccessException()
        {
        }

        public InvalidAccessException(ulong address) : base($"Invalid memory access at virtual address 0x{address:X16}.")
        {
        }

        public InvalidAccessException(string message) : base(message)
        {
        }

        public InvalidAccessException(string message, Exception innerException) : base(message, innerException)
        {
        }
    }
}