Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
exception used to signal an error in the argument given to libdar call of the API More...
#include <erreurs.hpp>
Public Member Functions | |
Elibcall (const std::string &source, const std::string &msg) | |
Elibcall (const Elibcall &ref)=default | |
Elibcall (Elibcall &&ref)=default | |
Elibcall & | operator= (const Elibcall &ref)=default |
Elibcall & | operator= (Elibcall &&ref)=default |
Public Member Functions inherited from libdar::Egeneric | |
Egeneric (const std::string &source, const std::string &message) | |
the constructor | |
Egeneric (const Egeneric &ref)=default | |
copy constructor | |
Egeneric (Egeneric &&ref)=default | |
move constructor | |
Egeneric & | operator= (const Egeneric &ref)=default |
assignment operator | |
Egeneric & | operator= (Egeneric &&ref) noexcept=default |
move operator | |
virtual | ~Egeneric ()=default |
the destructor | |
void | stack (const std::string &passage, const std::string &message="") |
add more detailed couple of information to the exception | |
void | stack (const std::string &&passage, const std::string &&message="") |
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 | |
std::string | dump_str () const |
return a string result of the exception information dump | |
Protected Member Functions | |
virtual std::string | exceptionID () const override |
exception used to signal an error in the argument given to libdar call of the API
the inherited get_message() method is probably the only one you will need to use
Definition at line 347 of file erreurs.hpp.