|
OTest2
A C++ testing framework
|
Ordinary exception catcher handling std::exception. More...
#include <exccatcherordinary.h>


Public Member Functions | |
| ExcCatcherOrdinary () | |
| Ctor. More... | |
| virtual | ~ExcCatcherOrdinary () |
| Dtor. More... | |
| ExcCatcherOrdinary (const ExcCatcherOrdinary &)=delete | |
| ExcCatcherOrdinary & | operator= (const ExcCatcherOrdinary &)=delete |
| virtual bool | catchException (const Context &context_, std::function< void(const Context &)> ftor_, std::string &message_) noexcept |
| Catch unexpected exceptions. More... | |
Public Member Functions inherited from OTest2::ExcCatcher | |
| ExcCatcher () | |
| Ctor. More... | |
| virtual | ~ExcCatcher () |
| Dtor. More... | |
| ExcCatcher (const ExcCatcher &)=delete | |
| ExcCatcher & | operator= (const ExcCatcher &)=delete |
Ordinary exception catcher handling std::exception.
Definition at line 30 of file exccatcherordinary.h.
| OTest2::ExcCatcherOrdinary::ExcCatcherOrdinary | ( | ) |
Ctor.
Definition at line 30 of file exccatcherordinary.cpp.
|
virtual |
Dtor.
Definition at line 34 of file exccatcherordinary.cpp.
|
delete |
|
virtualnoexcept |
Catch unexpected exceptions.
| [in] | context_ | The OTest2 context |
| [in] | ftor_ | the functional which the exceptions can occurs in. |
| [out] | message_ | If an exception happens an error message is filled in. |
Implements OTest2::ExcCatcher.
Definition at line 38 of file exccatcherordinary.cpp.
|
delete |
1.8.17