Crazy Eddie's GUI System  0.8.4
CEGUI::MemoryException Class Reference

Exception class used when a memory handling error is detected. More...

+ Inheritance diagram for CEGUI::MemoryException:
+ Collaboration diagram for CEGUI::MemoryException:

List of all members.

Public Member Functions

 MemoryException (const String &message, const String &file="unknown", int line=0, const String &function="unknown")
 Constructor that is responsible for logging the memory exception by calling the base class.

Detailed Description

Exception class used when a memory handling error is detected.


Constructor & Destructor Documentation

CEGUI::MemoryException::MemoryException ( const String message,
const String file = "unknown",
int  line = 0,
const String function = "unknown" 
) [inline]

Constructor that is responsible for logging the memory exception by calling the base class.

Parameters:
messageString object describing the reason for the memory exception being thrown.
filenameString object containing the name of the file where the memory exception occurred.
lineInteger representing the line number where the memory exception occurred.
functionString object containing the name of the function where the exception occurred.
Remarks:
The memory exception name is automatically passed to the base class as "CEGUI::MemoryException".
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends