The BufferTooSmall is thrown when an API call fails because the provided buffer is not big enough to hold the data.
More...
#include <rtctk/componentFramework/exceptions.hpp>
The BufferTooSmall is thrown when an API call fails because the provided buffer is not big enough to hold the data.
◆ BufferTooSmall() [1/2]
| rtctk::componentFramework::BufferTooSmall::BufferTooSmall |
( |
const std::size_t | actual, |
|
|
const std::size_t | expected ) |
|
explicit |
Construct exception object.
- Parameters
-
| [in] | actual | The actual size of the buffer. |
| [in] | expected | The minimum required size of the buffer. |
◆ BufferTooSmall() [2/2]
| rtctk::componentFramework::BufferTooSmall::BufferTooSmall |
( |
const std::size_t | actual, |
|
|
const std::size_t | expected, |
|
|
const std::string & | reason ) |
|
explicit |
Construct exception object.
- Parameters
-
| [in] | actual | The actual size of the buffer. |
| [in] | expected | The minimum required size of the buffer. |
| [in] | reason | Additional explanatory message or helpful hint. |
◆ GetActualBufferSize()
| std::size_t rtctk::componentFramework::BufferTooSmall::GetActualBufferSize |
( |
| ) |
const |
|
inline |
◆ GetExpectedBufferSize()
| std::size_t rtctk::componentFramework::BufferTooSmall::GetExpectedBufferSize |
( |
| ) |
const |
|
inline |
◆ m_actual
| std::size_t rtctk::componentFramework::BufferTooSmall::m_actual |
|
protected |
◆ m_expected
| std::size_t rtctk::componentFramework::BufferTooSmall::m_expected |
|
protected |
The documentation for this class was generated from the following files:
- componentFramework/services/common/src/include/rtctk/componentFramework/exceptions.hpp
- componentFramework/services/common/src/exceptions.cpp