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

Exception class used when some required object or parameter is null. More...

+ Inheritance diagram for CEGUI::NullObjectException:
+ Collaboration diagram for CEGUI::NullObjectException:

List of all members.

Public Member Functions

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

Detailed Description

Exception class used when some required object or parameter is null.


Constructor & Destructor Documentation

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

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

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