|
libintrovirt v0.57.4
IntroVirt introspection library
|
Thrown when failing to allocate guest memory. More...
#include <AllocationFailedException.hh>


Public Member Functions | |
| size_t | requested () const |
| Get the requested number of bytes. | |
| AllocationFailedException (size_t requested) | |
| Construct a new instance. | |
| AllocationFailedException (AllocationFailedException &&) noexcept | |
| Move constructor. | |
| AllocationFailedException & | operator= (AllocationFailedException &&) noexcept |
| Move assignment operator. | |
| ~AllocationFailedException () noexcept override | |
| Destructor. | |
Public Member Functions inherited from introvirt::TraceableException | |
| int | error_code () const |
| Get the errno value if one was set. | |
| TraceableException (TraceableException &&) noexcept | |
| Move constructor. | |
| TraceableException & | operator= (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. | |
Thrown when failing to allocate guest memory.
| introvirt::AllocationFailedException::AllocationFailedException | ( | size_t | requested | ) |
Construct a new instance.
| requested | The number of bytes that were requested |
|
noexcept |
Move constructor.
|
overridenoexcept |
Destructor.
|
noexcept |
Move assignment operator.
| size_t introvirt::AllocationFailedException::requested | ( | ) | const |
Get the requested number of bytes.