|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
A base class for exceptions with context.
This is a base class for exceptions which store additional contextual infomations about them: backtrace, throw point, simulated process name and PID, etc.
You are not expected to inherit from it. Instead of you use should XBT_THROW an exception which will throw a subclass of your original exception with those additional features.
However, you can try dynamic_cast an exception to this type in order to get contextual information about the exception.
#include <exception.hpp>
Public Member Functions | |
| WithContextException () | |
| WithContextException (Backtrace bt) | |
| WithContextException (ThrowPoint throwpoint, Backtrace bt) | |
| virtual | ~WithContextException () |
| Backtrace const & | backtrace () const |
| int | pid () const |
| std::string const & | processName () const |
| ThrowPoint & | throwPoint () |
|
inline |
|
inline |
|
inline |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inline |