Disk ARchive  2.4.14
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | Protected Member Functions | List of all members
libdar::Edata Class Reference

exception used when an error concerning the treated data has been met More...

#include <erreurs.hpp>

Inherits libdar::Egeneric.

Public Member Functions

 Edata (const std::string &msg)
- Public Member Functions inherited from libdar::Egeneric
 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
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
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

Detailed Description

exception used when an error concerning the treated data has been met

the inherited get_message() method is probably the only one you will need to use

Definition at line 239 of file erreurs.hpp.


The documentation for this class was generated from the following file: