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

Thrown when failing to attach to a domain because it was busy. More...

#include <DomainBusyException.hh>

Inheritance diagram for introvirt::DomainBusyException:
Collaboration diagram for introvirt::DomainBusyException:

Public Member Functions

 DomainBusyException (uint32_t domain_id)
 Construct a new Domain Busy Exception object.
 
 DomainBusyException (const std::string &domain_name)
 Construct a new Domain Busy Exception object.
 
 ~DomainBusyException () 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 failing to attach to a domain because it was busy.

This usually indicates that another introvirt tool is attached.

Constructor & Destructor Documentation

◆ DomainBusyException() [1/2]

introvirt::DomainBusyException::DomainBusyException ( uint32_t  domain_id)

Construct a new Domain Busy Exception object.

Parameters
domain_idThe domain_id

◆ DomainBusyException() [2/2]

introvirt::DomainBusyException::DomainBusyException ( const std::string &  domain_name)

Construct a new Domain Busy Exception object.

Parameters
domain_nameThe name of the domain

◆ ~DomainBusyException()

introvirt::DomainBusyException::~DomainBusyException ( )
override

Destroy the instance.


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