Go to the documentation of this file.
20 #ifndef PALUDIS_GUARD_PALUDIS_EXCEPTION_HH
21 #define PALUDIS_GUARD_PALUDIS_EXCEPTION_HH 1
65 static std::string backtrace(
const std::string & delim);
78 const std::string _message;
79 mutable std::string _what_str;
81 ContextData *
const _context_data;
89 Exception(
const std::string & message)
throw ();
111 std::string backtrace(
const std::string & delim)
const;
121 const char * what()
const throw ();
142 InternalError(
const std::string & location,
const std::string & message)
throw ();
181 NameError(
const std::string & name,
const std::string & role)
throw ();
190 NameError(
const std::string & name,
const std::string & role,
191 const std::string & msg)
throw ();
216 #define PALUDIS_HERE (std::string(__PRETTY_FUNCTION__) + " at " + \
217 std::string(__FILE__) + ":" + paludis::stringify(__LINE__))