19#ifndef FASTDDS_DDS_RPC_EXCEPTIONS__RPCEXCEPTION_HPP
20#define FASTDDS_DDS_RPC_EXCEPTIONS__RPCEXCEPTION_HPP
25#include <fastdds/fastdds_dll.hpp>
46 const std::string& message)
47 : logic_error_(message)
58 : logic_error_(message)
82 const
char*
what() const noexcept
84 return logic_error_.what();
89 std::logic_error logic_error_;
Base class for all exceptions thrown by the RPC API.
Definition RpcException.hpp:36
RpcException & operator=(const RpcException &other) noexcept=default
Copy assignment.
RpcException(const char *message)
Constructor.
Definition RpcException.hpp:56
const char * what() const noexcept
Returns the explanatory string.
Definition RpcException.hpp:82
RpcException(const RpcException &other) noexcept=default
Copy constructor.
virtual ~RpcException() noexcept=default
Destructor.
RpcException(const std::string &message)
Constructor.
Definition RpcException.hpp:45
Definition DomainParticipant.hpp:46