Disk ARchive
2.4.15
|
exception used to signal a bug. A bug is triggered when reaching some code that should never be reached More...
#include <erreurs.hpp>
Inherits libdar::Egeneric.
Public Member Functions | |
Ebug (const std::string &file, S_I line) | |
void | stack (const std::string &passage, const std::string &file, const std::string &line) |
![]() | |
Egeneric (const std::string &source, const std::string &message) | |
the constructor | |
virtual | ~Egeneric () |
the destructor | |
virtual void | stack (const std::string &passage, const std::string &message="") |
add more detailed couple of information to the exception | |
const std::string & | get_message () const |
get the message explaing the nature of the exception More... | |
const std::string & | get_source () const |
get the call function which has thrown this exception | |
const std::string & | find_object (const std::string &location) const |
retrieve the objet (object) associated to a given "lieu" (location) from the stack More... | |
void | prepend_message (const std::string &context) |
prepend error message by the given string | |
void | dump () const |
dump all information of the exception to the standard error | |
Protected Member Functions | |
std::string | exceptionID () const |
exception used to signal a bug. A bug is triggered when reaching some code that should never be reached
Definition at line 131 of file erreurs.hpp.