15 #ifndef _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
16 #define _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
18 #include "Exception.h"
37 const char*
const& message) noexcept;
79 virtual Cdr_DllAPI
void raise() const override;
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
static Cdr_DllAPI const char *const NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT
Default message used in the library.
Definition: NotEnoughMemoryException.h:82
virtual Cdr_DllAPI void raise() const override
This function throws the object as exception.
Cdr_DllAPI NotEnoughMemoryException & operator=(const NotEnoughMemoryException &ex) noexcept
Assigment operation.
Cdr_DllAPI NotEnoughMemoryException(const char *const &message) noexcept
Default constructor.
Cdr_DllAPI NotEnoughMemoryException(const NotEnoughMemoryException &ex) noexcept
Default copy constructor.
virtual Cdr_DllAPI ~NotEnoughMemoryException() noexcept
Default constructor.