libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::MemoryException Class Reference

Common base class for memory exceptions. More...

#include <MemoryException.hh>

Inheritance diagram for introvirt::MemoryException:
Collaboration diagram for introvirt::MemoryException:

Public Member Functions

 MemoryException (const std::string &message)
 Construct a new Memory Exception object.
 
 MemoryException (const std::string &message, int err)
 Construct a new Memory Exception object.
 
- Public Member Functions inherited from introvirt::TraceableException
int error_code () const
 Get the errno value if one was set.
 
 TraceableException (TraceableException &&) noexcept
 Move constructor.
 
TraceableExceptionoperator= (TraceableException &&) noexcept
 Move assignment operator.
 
 ~TraceableException () override
 Destroy the instance.
 

Additional Inherited Members

- Protected Member Functions inherited from introvirt::TraceableException
 TraceableException (const std::string &msg)
 Construct a new Traceable Exception object.
 
 TraceableException (const std::string &msg, int err)
 Construct a new Traceable Exception object with an erro code.
 

Detailed Description

Common base class for memory exceptions.

Constructor & Destructor Documentation

◆ MemoryException() [1/2]

introvirt::MemoryException::MemoryException ( const std::string &  message)

Construct a new Memory Exception object.

Parameters
messageThe error message

◆ MemoryException() [2/2]

introvirt::MemoryException::MemoryException ( const std::string &  message,
int  err 
)

Construct a new Memory Exception object.

Parameters
messageThe error message
errAn errno value

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