15#ifndef _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
16#define _FASTCDR_EXCEPTIONS_NOTENOUGHMEMORYEXCEPTION_H_
37 const char*
const& message)
noexcept;
This abstract class is used to create exceptions.
This class is thrown as an exception when the buffer's internal memory reachs its size limit.
virtual Cdr_DllAPI ~NotEnoughMemoryException() noexcept
Default destructor.
static Cdr_DllAPI const char *const NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT
Default message used in the library.
Cdr_DllAPI NotEnoughMemoryException & operator=(const NotEnoughMemoryException &ex) noexcept
Assigment operation.
Cdr_DllAPI void raise() const override
This function throws the object as exception.