Fawkes API  Fawkes Development Version
fawkes::FawkesNetworkMessageTooBigException Class Reference

The given message size exceeds the limit. More...

#include <netcomm/fawkes/message.h>

Inheritance diagram for fawkes::FawkesNetworkMessageTooBigException:

List of all members.

Public Member Functions

 FawkesNetworkMessageTooBigException (size_t message_size)
 Constructor.

Detailed Description

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.

Author:
Tim Niemueller

Constructor & Destructor Documentation

fawkes::FawkesNetworkMessageTooBigException::FawkesNetworkMessageTooBigException ( size_t  message_size)

Constructor.

Parameters:
message_sizesize 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.


The documentation for this class was generated from the following files: