OKlibrary  0.2.1.6
OKlib::TestSystem::TestException Class Reference

The root of the exception class hierarchy to be thrown in case of test failure. More...

#include <TestExceptions.hpp>

Inherits std::runtime_error.

List of all members.

Public Member Functions

 TestException (const std::string &special_circumstances)
 ~TestException () throw ()
TestExceptionadd (const ErrorDescription e)

Friends

std::ostream & operator<< (std::ostream &out, const TestException &E)

Detailed Description

The root of the exception class hierarchy to be thrown in case of test failure.

Should normally not be used directly, but should be invoked by one of the macros like OKLIB_TEST_EQUAL. Is derived from std::runtime_error.

Definition at line 68 of file TestExceptions.hpp.


Constructor & Destructor Documentation

OKlib::TestSystem::TestException::TestException ( const std::string &  special_circumstances) [inline, explicit]

Definition at line 74 of file TestExceptions.hpp.

Definition at line 75 of file TestExceptions.hpp.


Member Function Documentation


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const TestException E 
) [friend]

Definition at line 82 of file TestExceptions.hpp.


The documentation for this class was generated from the following file: