The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::memory::MemoryPeekError Class Reference

Error while attempting to peek some memory object or interface. More...

#include <MemoryExceptions.hpp>

Inheritance diagram for sparta::memory::MemoryPeekError:
Collaboration diagram for sparta::memory::MemoryPeekError:

Public Member Functions

 MemoryPeekError (addr_t addr, addr_t size, const std::string &why)
 
- Public Member Functions inherited from sparta::memory::MemoryAccessError
 MemoryAccessError (addr_t addr, addr_t size, const std::string &access, 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 >
SpartaExceptionoperator<< (const T &msg)
 Append additional information to the message.
 

Detailed Description

Error while attempting to peek some memory object or interface.

Definition at line 83 of file MemoryExceptions.hpp.

Constructor & Destructor Documentation

◆ MemoryPeekError()

sparta::memory::MemoryPeekError::MemoryPeekError ( addr_t  addr,
addr_t  size,
const std::string &  why 
)
inline

Definition at line 86 of file MemoryExceptions.hpp.


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