#include <Assertion.hpp>
Definition at line 50 of file Assertion.hpp.
Public Member Functions | |
| Throwable (string message) | |
Constructs a Throwable object. | |
| Throwable (const Throwable &th) | |
Constructs a Throwable object as a copy from another. | |
| Throwable (string file, int line, string message) | |
Constructs a Throwable object. | |
| virtual | ~Throwable () |
| destructor | |
| virtual string | getMessage () |
Returns a string message that describes this exception. | |
| virtual string | getPrintMessage () |
Returns a string message that can be printed. | |
| virtual string | getExceptionName () |
Returns the name of the exception (the default getMessage() this name). | |
Protected Attributes | |
| int | line |
| line number where the exception occured | |
| string | file |
| the source file where the exception occured | |
| string | message |
| description of this exception | |
|
|
Constructs a
Definition at line 24 of file Assertion.cpp. |
|
|
Constructs a
Definition at line 30 of file Assertion.cpp. |
|
||||||||||||||||
|
Constructs a
Definition at line 36 of file Assertion.cpp. |
|
|
Returns the name of the exception (the default
Definition at line 69 of file Assertion.cpp. Referenced by getPrintMessage(). |
|
|
Returns a
Definition at line 47 of file Assertion.cpp. References message. Referenced by getPrintMessage(). |
|
|
Returns a
Definition at line 53 of file Assertion.cpp. References file, getExceptionName(), getMessage(), and line. Referenced by unittest::TestSet::execute(). |
1.4.6-NO