Class VmMemoryException
Represents errors that occur during memory access operations in the virtual machine.
Implements
Inherited Members
Namespace: VM.Core.Instructions
Assembly: VM.dll
Syntax
public class VmMemoryException : VmException, ISerializable
Constructors
VmMemoryException(int, string, int, int)
Represents errors that occur during memory access operations in the virtual machine.
Declaration
public VmMemoryException(int address, string message, int line = -1, int ip = -1)
Parameters
Type | Name | Description |
---|---|---|
int | address | The memory address where the error occurred. |
string | message | The error message that explains the reason for the exception. |
int | line | The source line number where the error occurred (-1 if unknown). |
int | ip | The instruction pointer value when the error occurred (-1 if unknown). |
Properties
Address
Gets the memory address where the error occurred.
Declaration
public int Address { get; }
Property Value
Type | Description |
---|---|
int |