Class NotEnoughMemoryException

Inheritance Relationships

Base Type

Class Documentation

class NotEnoughMemoryException : public eprosima::fastcdr::exception::Exception

This class is thrown as an exception when the buffer’s internal memory reachs its size limit.

Public Functions

NotEnoughMemoryException(const char *const &message) noexcept

Default constructor.

Parameters:

message – An error message. This message pointer is copied.

NotEnoughMemoryException(const NotEnoughMemoryException &ex) noexcept

Default copy constructor.

Parameters:

exNotEnoughMemoryException that will be copied.

NotEnoughMemoryException(NotEnoughMemoryException &&ex) noexcept

Default move constructor.

Parameters:

exNotEnoughMemoryException that will be moved.

NotEnoughMemoryException &operator=(const NotEnoughMemoryException &ex) noexcept

Assigment operation.

Parameters:

exNotEnoughMemoryException that will be copied.

NotEnoughMemoryException &operator=(NotEnoughMemoryException &&ex) noexcept

Assigment operation.

Parameters:

exNotEnoughMemoryException that will be moved.

virtual ~NotEnoughMemoryException() noexcept

Default destructor.

virtual void raise() const override

This function throws the object as exception.

Public Static Attributes

static const char *const NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT

Default message used in the library.