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

Exception class used when an attempt is made create a named object of a particular type when an object of the same type already exists with the same name. More...

+ Inheritance diagram for CEGUI::AlreadyExistsException:
+ Collaboration diagram for CEGUI::AlreadyExistsException:

List of all members.

Public Member Functions

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

Detailed Description

Exception class used when an attempt is made create a named object of a particular type when an object of the same type already exists with the same name.


Constructor & Destructor Documentation

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

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

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