#include <Exception.h>
Inheritance diagram for EAssertionFailed:
It is normally thrown by the ASSERTION macro. EAssertionFailed exceptions are usually thrown in the debug version only.
Definition at line 275 of file Exception.h.
Public Member Functions | |
const char * | GetClassName () |
Returns the name of the class actually instantiated. | |
long | GetLineNumber () |
Returns the line number of the exception creation. | |
const char * | GetMessage () |
Returns the exception message. | |
const char * | GetSource () |
Returns the source file name of the exception creation. | |
Static Public Member Functions | |
void | Assertion (bool assertion, const char *source, long lineNumber) |
Assertion for the ASSERTION macro. | |
void | Assertion (bool assertion, const char *message, const char *source, long lineNumber) |
Assertion for the ASSERTION macro. | |
Protected Member Functions | |
void | SetMessage (const char *message) |
Sets the exception text. | |
void | SetSource (const char *source) |
Sets the source file name. | |
Protected Attributes | |
const char * | ClassName |
The name of the class actually instantiated. | |
long | LineNumber |
The line number of the exception creation. | |
char * | Message |
The exception message text. | |
char * | Source |
The source file name of the exception creation. | |
Private Member Functions | |
EAssertionFailed (const char *message, const char *source, long lineNumber) | |
Creates a new EAssertionFailed. |
|
Creates a new EAssertionFailed.
|
|
Assertion for the ASSERTION macro. This method throws an EAssertionFailed exception, if the given expression isn't true. Do not call this method directly, but use the ASSERTION macro.
|
|
Assertion for the ASSERTION macro. This method throws an EAssertionFailed exception, if the given expression isn't true. Do not call this method directly, but use the ASSERTION macro.
|
|
Returns the name of the class actually instantiated.
|
|
Returns the line number of the exception creation.
|
|
Returns the exception message.
|
|
Returns the source file name of the exception creation.
|
|
Sets the exception text.
|
|
Sets the source file name.
|
|
The name of the class actually instantiated.
Definition at line 172 of file Exception.h. |
|
The line number of the exception creation. This parameter is usually determined by the exception macro. Definition at line 178 of file Exception.h. |
|
The exception message text.
Definition at line 183 of file Exception.h. |
|
The source file name of the exception creation. This parameter is usually determined by the exception macro. Definition at line 189 of file Exception.h. |