The given message size exceeds the limit. More...
#include <netcomm/fawkes/message.h>
Public Member Functions | |
FawkesNetworkMessageTooBigException (size_t message_size) | |
Constructor. |
The given message size exceeds the limit.
The message payload can only be of a certain size, which is limited especially by the data type used for the payload size in the header. If you try to assign too much data to a message this exception is thrown.
Definition at line 67 of file message.h.
fawkes::FawkesNetworkMessageTooBigException::FawkesNetworkMessageTooBigException | ( | size_t | message_size | ) |
Constructor.
message_size | size of the message that is too big |
Definition at line 48 of file message.cpp.
References fawkes::Exception::append(), and fawkes::fawkes_message_header_t::payload_size.