The Sparta Modeling Framework
|
Indicates that there was an issue translating an address in the SPARTA framework. More...
#include <MemoryExceptions.hpp>
Public Member Functions | |
MemoryTranslationError (addr_t addr, const std::string &why) | |
Public Member Functions inherited from sparta::SpartaException | |
SpartaException () | |
Construct a SpartaException object with empty reason. | |
SpartaException (const std::string &reason) | |
Construct a SpartaException object. | |
SpartaException (const SpartaException &orig) | |
Copy construct a SpartaException object. | |
virtual | ~SpartaException () noexcept |
Destroy! | |
const char * | what () const noexcept |
Overload from std::exception. | |
std::string | backtrace () const noexcept |
Returns the backtrace at the time this exception was generated. | |
std::string | rawReason () const |
Return the raw reason without file, line information. | |
template<class T > | |
SpartaException & | operator<< (const T &msg) |
Append additional information to the message. | |
Indicates that there was an issue translating an address in the SPARTA framework.
This is intended to communicate to a (typically external) client of the framework that a translation was not possible (e.g. out of memory bounds, bad alignment, no translation, etc.)
Definition at line 24 of file MemoryExceptions.hpp.
|
inline |
Definition at line 27 of file MemoryExceptions.hpp.