20.1.7.16. RpcException

class RpcException

Base class for all exceptions thrown by the RPC API.

Subclassed by eprosima::fastdds::dds::rpc::RpcBrokenPipeException, eprosima::fastdds::dds::rpc::RpcFeedCancelledException, eprosima::fastdds::dds::rpc::RpcOperationError, eprosima::fastdds::dds::rpc::RpcRemoteException, eprosima::fastdds::dds::rpc::RpcTimeoutException

Public Functions

inline explicit RpcException(const std::string &message)

Constructor.

Parameters:

message – The exception message.

inline explicit RpcException(const char *message)

Constructor.

Parameters:

message – The exception message.

RpcException(const RpcException &other) noexcept = default

Copy constructor.

RpcException &operator=(const RpcException &other) noexcept = default

Copy assignment.

virtual ~RpcException() noexcept = default

Destructor.

inline const char *what() const noexcept

Returns the explanatory string.