Public Member Functions

CEGUI::GenericException Class Reference

Exception class used when none of the other classes are applicable. More...

Inheritance diagram for CEGUI::GenericException:
Collaboration diagram for CEGUI::GenericException:

List of all members.

Public Member Functions

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

Detailed Description

Exception class used when none of the other classes are applicable.


Constructor & Destructor Documentation

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

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

Parameters:
messageString object describing the reason for the generic exception being thrown.
filenameString object containing the name of the file where the generic exception occurred.
lineInteger representing the line number where the generic exception occurred.
Remarks:
The generic exception name is automatically passed to the base class as "CEGUI::GenericException".