Error Class Reference

#include <Error.h>

Inheritance diagram for Error:
Object

# Static Public Member Functions

static void triggerException (char *message, char *detail)
static void zeroDivisionException ()
 Handles hardware's zero division exception.
static void invalidOpcodeException ()
 Handles hardware's invalid opcode exception.
static void floatingPointException ()
 Handles hardware's floating point exception.

# Additional Inherited Members

- Private Member Functions inherited from Object
void constructor ()
 Class' constructor.
const void * getVTable ()
bool mutateTo (const void *targetClass)
- Static Private Member Functions inherited from Object
static Object getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod)
- Private Attributes inherited from Object
void * vTable
 Pointer to the class's virtual table.

# Detailed Description

Class Error

Inherits from Object

Catches assertions and hardware exceptions.

Definition at line 28 of file Error.h.

# Member Function Documentation

# floatingPointException()

static void Error::floatingPointException ( )
static

Handles hardware's floating point exception.

Definition at line 279 of file Error.c.

# invalidOpcodeException()

static void Error::invalidOpcodeException ( )
static

Handles hardware's invalid opcode exception.

Definition at line 220 of file Error.c.

# triggerException()

static void Error::triggerException ( char * message,
char * detail )
static

Locks the program in a screen with the details of what caused the exception.

Parameters
messagePointer to a brief description of the exception
detailPointer to a detailed description of the exception

Definition at line 54 of file Error.c.

# zeroDivisionException()

static void Error::zeroDivisionException ( )
static

Handles hardware's zero division exception.

Definition at line 198 of file Error.c.


The documentation for this class was generated from the following files:
  • VUEngine-Core/source/Debugging/Error/Error.h
  • VUEngine-Core/source/Debugging/Error/Error.c