|
CppCommon 1.0.5.0
C++ Common Library
|
Domain exception. More...
#include <exceptions.h>
Public Member Functions | |
| Exception (const std::string &message="") | |
| Default class constructor. | |
| Exception (const Exception &)=default | |
| Exception (Exception &&)=default | |
Public Member Functions inherited from CppCommon::Exception | |
| Exception (const std::string &message="") | |
| Default class constructor. | |
| 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. | |
| const SourceLocation & | location () const noexcept |
| Get exception location. | |
| const char * | what () const noexcept override |
| Get string identifying exception. | |
| virtual std::string | string () const |
| Get string from the current exception. | |
Additional Inherited Members | |
Protected Attributes inherited from CppCommon::Exception | |
| std::string | _cache |
| Cached exception string. | |
| std::string | _message |
| Exception message. | |
| SourceLocation | _location |
| Exception location. | |
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 |