20 #ifndef FASTDDS_DDS_XTYPES_EXCEPTION__EXCEPTION_HPP
21 #define FASTDDS_DDS_XTYPES_EXCEPTION__EXCEPTION_HPP
26 #include <fastdds/fastdds_dll.hpp>
44 FASTDDS_EXPORTED_API
virtual ~Exception() throw() = default;
51 FASTDDS_EXPORTED_API virtual const
char*
what() const throw() = 0;
63 const std::string& msg);
70 FASTDDS_EXPORTED_API virtual const
char*
what() const throw();
Exception: base class for specified DDS Exceptions.
Definition: Exception.hpp:37
virtual FASTDDS_EXPORTED_API ~Exception()=default
virtual FASTDDS_EXPORTED_API const char * what() const =0
Retrieve information about the exception that was thrown.
Application is passing an invalid argument.
Definition: Exception.hpp:59
FASTDDS_EXPORTED_API InvalidArgumentError(const InvalidArgumentError &src)
FASTDDS_EXPORTED_API InvalidArgumentError(const std::string &msg)
virtual FASTDDS_EXPORTED_API ~InvalidArgumentError()
Definition: DomainParticipant.hpp:46
Definition: EntityId_t.hpp:388