|
The Vish Visualization Shell 0.3
Vish
|
Base class for exceptions. More...
#include <elementary/memcore/Exception.hpp>
Public Member Functions | |
| Exception () | |
| Empty construction. | |
| Exception (const char *s, const char *filename=0, int LineNo=0) noexcept | |
| Construct description from native C string. | |
| Exception (const Exception &E) noexcept | |
| Copy constructor with description. | |
| Exception (const std::string &s, const char *filename=nullptr, int LineNo=0) noexcept | |
| Construct from STL string. | |
Public Attributes | |
| simplestring | description |
| optional detailed description | |
| unsigned | sourcefilelinenumber |
| source line number | |
| simplestring | sourcefilename |
| source file name | |
Base class for exceptions.
Note: within an exception class, do NOT use std::string . Instead, using MemCore::simplestring is exception-safe.
Use MEMCORE_EXCEPTION_SRC to assign source file information.