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

Thrown when a buffer is not large enough for some operation. More...

#include <BufferTooSmallException.hh>

Inheritance diagram for introvirt::BufferTooSmallException:
Collaboration diagram for introvirt::BufferTooSmallException:

Public Member Functions

 BufferTooSmallException (size_t required_size, int available_size)
 Construct a new BufferTooSmallException.
 
- 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 buffer is not large enough for some operation.

Constructor & Destructor Documentation

◆ BufferTooSmallException()

introvirt::BufferTooSmallException::BufferTooSmallException ( size_t  required_size,
int  available_size 
)

Construct a new BufferTooSmallException.

Parameters
required_sizeThe size that was required
available_sizeThe size that was available

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