RAMvader  1.4
A .NET library which provides access to other processes' memory space.
RAMvader.CodeInjection.UnmatchedDataTypeException Class Reference

Exception thrown when trying to perform an operation involving injection variables, and the data type used is different from the data type of the injection variable. Read/write operations on injection variables must ALWAYS match the exact type declared for the injection variable. More...

Inherits RAMvader.CodeInjection.InjectorException.

Public Member Functions

 UnmatchedDataTypeException (Type givenType, Type requiredType, Enum variableID)
 Constructor. More...
 
- Public Member Functions inherited from RAMvader.CodeInjection.InjectorException
 InjectorException (string msg)
 Constructor. More...
 
- Public Member Functions inherited from RAMvader.RAMvaderException
 RAMvaderException (string msg)
 Constructor. More...
 

Detailed Description

Exception thrown when trying to perform an operation involving injection variables, and the data type used is different from the data type of the injection variable. Read/write operations on injection variables must ALWAYS match the exact type declared for the injection variable.

Constructor & Destructor Documentation

◆ UnmatchedDataTypeException()

RAMvader.CodeInjection.UnmatchedDataTypeException.UnmatchedDataTypeException ( Type  givenType,
Type  requiredType,
Enum  variableID 
)

Constructor.

Parameters
givenTypeThe incorrect type used in the operation wich was tried against the injection variable.
requiredTypeThe actual type of the injection variable, which was required for the operation to succeed.
variableIDThe identifier of the variable.