#include <Exceptions.hh>
|
| Exception ()=delete |
|
| Exception (char const *file, int line, std::string const &msg) |
|
| ~Exception () override |
|
virtual void | display () const |
| Present this exception to the user. Will invoke crash log reporting, if applicable. More...
|
|
virtual void | crash_log () const |
| Invoke a crash log for throwing this exception. If your exception is one which is a "non-error" exception, override this function to do nothing. More...
|
|
void | show (std::ostream &) const |
|
std::string | msg () const |
| Will return a formatted message (with file/line information) More...
|
|
std::string | raw_msg () const |
| Will return the raw message (without file/line information) More...
|
|
void | msg (std::string const &m) |
| Will set the raw message. More...
|
|
void | add_msg (std::string const &str) |
|
void | prepend_to_msg (std::string const &str) |
|
std::string const & | file () |
|
int | line () |
|
std::string const & | traceback () |
|
|
char const * | what () const noexcept override |
|
◆ Exception() [1/2]
utility::excn::Exception::Exception |
( |
| ) |
|
|
delete |
◆ Exception() [2/2]
Exception::Exception |
( |
char const * |
file, |
|
|
int |
line, |
|
|
std::string const & |
msg |
|
) |
| |
◆ ~Exception()
utility::excn::Exception::~Exception |
( |
| ) |
|
|
inlineoverride |
◆ add_msg()
void utility::excn::Exception::add_msg |
( |
std::string const & |
str | ) |
|
|
inline |
◆ crash_log()
void Exception::crash_log |
( |
| ) |
const |
|
virtual |
◆ display()
void Exception::display |
( |
| ) |
const |
|
virtual |
◆ file()
std::string const& utility::excn::Exception::file |
( |
| ) |
|
|
inline |
◆ line()
int utility::excn::Exception::line |
( |
| ) |
|
|
inline |
◆ msg() [1/2]
std::string Exception::msg |
( |
| ) |
const |
◆ msg() [2/2]
void utility::excn::Exception::msg |
( |
std::string const & |
m | ) |
|
|
inline |
◆ prepend_to_msg()
void utility::excn::Exception::prepend_to_msg |
( |
std::string const & |
str | ) |
|
|
inline |
◆ raw_msg()
std::string utility::excn::Exception::raw_msg |
( |
| ) |
const |
|
inline |
◆ show()
void Exception::show |
( |
std::ostream & |
os | ) |
const |
◆ traceback()
std::string const& utility::excn::Exception::traceback |
( |
| ) |
|
|
inline |
◆ what()
char const* utility::excn::Exception::what |
( |
| ) |
const |
|
inlineoverrideprivatenoexcept |
◆ file_
std::string utility::excn::Exception::file_ |
|
private |
◆ line_
int utility::excn::Exception::line_ |
|
private |
◆ msg_
std::string utility::excn::Exception::msg_ |
|
private |
◆ traceback_
std::string utility::excn::Exception::traceback_ |
|
private |
◆ whatstring_
std::string utility::excn::Exception::whatstring_ |
|
mutableprivate |
The documentation for this class was generated from the following files: