libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::CommandFailedException Class Referencefinal

Thrown when a hypervisor command fails. More...

#include <CommandFailedException.hh>

Inheritance diagram for introvirt::CommandFailedException:
Collaboration diagram for introvirt::CommandFailedException:

Public Member Functions

 CommandFailedException (const std::string &message, int err)
 Construct a new Event Poll Exception.
 
 ~CommandFailedException () override
 Destroy the instance.
 
- 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

Thrown when a hypervisor command fails.

Constructor & Destructor Documentation

◆ CommandFailedException()

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

Construct a new Event Poll Exception.

Parameters
messageThe error message
errThe errno value

◆ ~CommandFailedException()

introvirt::CommandFailedException::~CommandFailedException ( )
override

Destroy the instance.


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