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

Exception class used for issues in scripting subsystem. More...

+ Inheritance diagram for CEGUI::ScriptException:
+ Collaboration diagram for CEGUI::ScriptException:

List of all members.

Public Member Functions

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

Detailed Description

Exception class used for issues in scripting subsystem.


Constructor & Destructor Documentation

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

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

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