/** Return the information about where the exception was thrown */
xbt::ThrowPoint const& throw_point() const { return throwpoint_; }
+ std::string const resolve_backtrace() const { return throwpoint_.backtrace_.resolve(); }
+
private:
xbt::ThrowPoint throwpoint_;
};
* @param message Exception message
*/
xbt_ex(simgrid::xbt::ThrowPoint throwpoint, std::string message) : simgrid::Exception(throwpoint, message) {}
+
+ xbt_ex(const xbt_ex&) = default;
~xbt_ex(); // DO NOT define it here -- see ex.cpp for a rationale