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

Cdr_DllAPI NotEnoughMemoryException(const char *const &message) noexcept

Default constructor.

Parameters:

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

Cdr_DllAPI NotEnoughMemoryException(const NotEnoughMemoryException &ex) noexcept

Default copy constructor.

Parameters:

exNotEnoughMemoryException that will be copied.

Cdr_DllAPI NotEnoughMemoryException(NotEnoughMemoryException &&ex) noexcept

Default move constructor.

Parameters:

exNotEnoughMemoryException that will be moved.

Cdr_DllAPI NotEnoughMemoryException & operator= (const NotEnoughMemoryException &ex) noexcept

Assigment operation.

Parameters:

exNotEnoughMemoryException that will be copied.

Cdr_DllAPI NotEnoughMemoryException & operator= (NotEnoughMemoryException &&ex) noexcept

Assigment operation.

Parameters:

exNotEnoughMemoryException that will be moved.

virtual Cdr_DllAPI ~NotEnoughMemoryException() noexcept

Default destructor.

virtual Cdr_DllAPI void raise () const override

This function throws the object as exception.

Public Static Attributes

static Cdr_DllAPI const char *const NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT

Default message used in the library.