Class NotEnoughMemoryException
Defined in File NotEnoughMemoryException.h
Inheritance Relationships
Base Type
public eprosima::fastcdr::exception::Exception(Class Exception)
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:
ex – NotEnoughMemoryException that will be copied.
-
NotEnoughMemoryException(NotEnoughMemoryException &&ex) noexcept
Default move constructor.
- Parameters:
ex – NotEnoughMemoryException that will be moved.
-
NotEnoughMemoryException &operator=(const NotEnoughMemoryException &ex) noexcept
Assigment operation.
- Parameters:
ex – NotEnoughMemoryException that will be copied.
-
NotEnoughMemoryException &operator=(NotEnoughMemoryException &&ex) noexcept
Assigment operation.
- Parameters:
ex – NotEnoughMemoryException 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.
-
NotEnoughMemoryException(const char *const &message) noexcept