15 #ifndef _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
16 #define _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
18 #include "Exception.h"
37 const char*
const& message) noexcept;
79 virtual
void raise() const override;
82 static const
char* const NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT;
This abstract class is used to create exceptions.
Definition: Exception.h:30
This class is thrown as an exception when the buffer's internal memory reachs its size limit.
Definition: NotEnoughMemoryException.h:28
virtual ~NotEnoughMemoryException() noexcept
Default constructor.
NotEnoughMemoryException(const NotEnoughMemoryException &ex) noexcept
Default copy constructor.
NotEnoughMemoryException(const char *const &message) noexcept
Default constructor.