Show / Hide Table of Contents

Class VmMemoryException

Represents errors that occur during memory access operations in the virtual machine.

Inheritance
object
Exception
VmException
VmMemoryException
Implements
ISerializable
Inherited Members
VmException.LineNumber
VmException.InstructionPointer
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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

Implements

ISerializable
In this article
Back to top Generated by DocFX