oos::unit_exception Class Reference
Unit exception class thrown on a unit test assert definition. More...
#include <unit_exception.hpp>
Inherits std::exception.
Public Member Functions | |
unit_exception (const std::string &msg) throw () | |
Contructs a unit_exception. More... | |
virtual const char * | what () const throw () |
Detailed Description
Unit exception class thrown on a unit test assert definition.
This unit_exception is thrown when an assert evaluates to false. This exception is caugt by the main test_suite object.
Constructor & Destructor Documentation
oos::unit_exception::unit_exception | ( | const std::string & | msg | ) | |
throw | ( | ||||
) |
Contructs a unit_exception.
A object of type unit_exception with the given message is created.
- Parameters
-
msg Message of the exception.
Member Function Documentation
|
virtual |
Returns the message of this exception.
- Returns
- The message of the exception.
The documentation for this class was generated from the following file:
- unit/unit_exception.hpp