 |
FastCDR
Version 1.1.1
FastCDR
|
15 #ifndef _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
16 #define _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
18 #include "Exception.h"
37 const char*
const& message) noexcept;
75 virtual Cdr_DllAPI
void raise()
const override;
83 #endif // _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
This abstract class is used to create exceptions.
Definition: Exception.h:29
Cdr_DllAPI NotEnoughMemoryException(const char *const &message) noexcept
Default constructor.
virtual Cdr_DllAPI ~NotEnoughMemoryException() noexcept
Default constructor.
Cdr_DllAPI NotEnoughMemoryException & operator=(const NotEnoughMemoryException &ex) noexcept
Assigment operation.
static const Cdr_DllAPI char *const NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT
Default message used in the library.
Definition: NotEnoughMemoryException.h:78
This class is thrown as an exception when the buffer's internal memory reachs its size limit.
Definition: NotEnoughMemoryException.h:27