Crazy Eddie's GUI System
0.8.1
|
Exception class used when some impossible request was made of the system. More...
Public Member Functions | |
InvalidRequestException (const String &message, const String &file="unknown", int line=0, const String &function="unknown") | |
Constructor that is responsible for logging the invalid request exception by calling the base class. More... | |
![]() | |
virtual | ~Exception (void) throw () |
Virtual destructor. | |
const String & | getMessage (void) const |
Return a reference to the String object describing the reason for the exception being thrown. More... | |
const String & | getName () const |
Return a reference to the String object containing the exception name (i.e. class type). More... | |
const String & | getFileName (void) const |
Return a reference to the String object containing the name of the file where the exception occurred. More... | |
int | getLine (void) const |
Return the line number where the exception occurred. More... | |
const String & | getFunctionName (void) const |
Return a reference to the String object containing the name of the function where the exception occurred. More... | |
const char * | what () const throw () |
Additional Inherited Members | |
![]() | |
static void | setStdErrEnabled (bool enabled) |
Sets whether every exception construction should output to stderr. More... | |
static bool | isStdErrEnabled () |
Checks whether newly constructed exceptions will output to stderr. More... | |
![]() | |
Exception (const String &message="", const String &name="CEGUI::Exception", const String &filename="", int line=0, const String &function="") | |
Protected constructor that prevents instantiations (users should employ derived exception classes instead) and that is responsible for logging the exception. More... | |
![]() | |
String | d_message |
Holds the reason for the exception being thrown. | |
String | d_name |
Holds the class name of the exception (e.g. CEGUI::ObjectInUseException) | |
String | d_filename |
Holds the name of the file where the exception occurred. | |
int | d_line |
Holds the line number where the exception occurred. | |
String | d_function |
Holds the name of the function where the exception occurred. | |
String | d_what |
Holds the default error message. | |
![]() | |
static bool | d_stdErrEnabled |
if this is true, newly constructed exceptions will output to stderr | |
Exception class used when some impossible request was made of the system.
|
inline |
Constructor that is responsible for logging the invalid request exception by calling the base class.
message | String object describing the reason for the invalid request exception being thrown. |
filename | String object containing the name of the file where the invalid request exception occurred. |
line | Integer representing the line number where the invalid request exception occurred. |
function | String object containing the name of the function where the exception occurred. |