Public Member Functions

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)
 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 
) [inline]

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

Parameters:
message String object describing the reason for the already exists exception being thrown.
filename String object containing the name of the file where the already exists exception occurred.
line Integer representing the line number where the already exists exception occurred.
Remarks:
The already exists exception name is automatically passed to the base class as "CEGUI::AlreadyExistsException".