Exception.
More...
#include <exceptions.h>
Exception.
Exception base interface.
Not thread-safe.
Definition at line 33 of file exceptions.h.
◆ Exception() [1/3]
CppCommon::Exception::Exception |
( |
const std::string & |
message = "" | ) |
|
|
inlineexplicit |
Default class constructor.
- Parameters
-
Definition at line 40 of file exceptions.h.
◆ Exception() [2/3]
CppCommon::Exception::Exception |
( |
const Exception & |
| ) |
|
|
default |
◆ Exception() [3/3]
CppCommon::Exception::Exception |
( |
Exception && |
| ) |
|
|
default |
◆ ~Exception()
virtual CppCommon::Exception::~Exception |
( |
| ) |
|
|
virtualdefault |
◆ location()
◆ message()
const std::string& CppCommon::Exception::message |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ string()
std::string CppCommon::Exception::string |
( |
| ) |
const |
|
virtual |
◆ what()
const char * CppCommon::Exception::what |
( |
| ) |
const |
|
overridenoexcept |
◆ operator+
Link exception with source location.
Definition at line 65 of file exceptions.h.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Exception & |
ex |
|
) |
| |
|
friend |
Output exception into the given output stream.
Definition at line 60 of file exceptions.h.
◆ _cache
std::string CppCommon::Exception::_cache |
|
mutableprotected |
◆ _location
◆ _message
std::string CppCommon::Exception::_message |
|
protected |
The documentation for this class was generated from the following files: