diff --git a/include/fastcdr/Cdr.h b/include/fastcdr/Cdr.h index 68f7df4b..6429a40f 100644 --- a/include/fastcdr/Cdr.h +++ b/include/fastcdr/Cdr.h @@ -703,8 +703,9 @@ class Cdr * @param string_t The string that will be serialized in the buffer. * @return Reference to the eprosima::fastcdr::Cdr object. * @exception exception::NotEnoughMemoryException This exception is thrown when trying to serialize a position that exceeds the internal memory size. + * @exception exception::BadParamException This exception is thrown when trying to serialize a string with null characters. */ - TEMPLATE_SPEC + Cdr_DllAPI TEMPLATE_SPEC Cdr& serialize( const std::string& string_t);