CppCommon
1.0.4.1
C++ Common Library
|
Domain exception. More...
#include <exceptions.h>
Public Member Functions | |
Exception (const std::string &message="") | |
Default class constructor. More... | |
Exception (const Exception &)=default | |
Exception (Exception &&)=default | |
Public Member Functions inherited from CppCommon::Exception | |
Exception (const std::string &message="") | |
Default class constructor. More... | |
Exception (const Exception &)=default | |
Exception (Exception &&)=default | |
virtual | ~Exception ()=default |
Exception & | operator= (const Exception &)=default |
Exception & | operator= (Exception &&)=default |
const std::string & | message () const noexcept |
Get exception message. More... | |
const SourceLocation & | location () const noexcept |
Get exception location. More... | |
const char * | what () const noexcept override |
Get string identifying exception. More... | |
virtual std::string | string () const |
Get string from the current exception. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CppCommon::Exception | |
std::string | _cache |
Cached exception string. More... | |
std::string | _message |
Exception message. More... | |
SourceLocation | _location |
Exception location. More... | |
Domain exception.
Definition at line 85 of file exceptions.h.
|
default |
|
inlineexplicit |
Default class constructor.
message | - Exception message (default is "") |
Definition at line 40 of file exceptions.h.
|
default |