19#ifndef FASTDDS_DDS_RPC_EXCEPTIONS__RPCREMOTEEXCEPTION_HPP
20#define FASTDDS_DDS_RPC_EXCEPTIONS__RPCREMOTEEXCEPTION_HPP
22#include <fastdds/fastdds_dll.hpp>
23#include <fastdds/dds/rpc/RemoteExceptionCode_t.hpp>
24#include <fastdds/dds/rpc/exceptions/RpcException.hpp>
Base class for all exceptions thrown by the RPC API.
Definition RpcException.hpp:36
Base class for exceptions that map to a RpcExceptionCode_t.
Definition RpcRemoteException.hpp:35
virtual ~RpcRemoteException() noexcept=default
Destructor.
RpcRemoteException & operator=(const RpcRemoteException &other) noexcept=default
Copy assignment.
RemoteExceptionCode_t code() const noexcept
Get the exception code.
Definition RpcRemoteException.hpp:72
RpcRemoteException(const RpcRemoteException &other) noexcept=default
Copy constructor.
RpcRemoteException(RemoteExceptionCode_t code, const char *msg)
Constructor.
Definition RpcRemoteException.hpp:42
Definition DomainParticipant.hpp:46
RemoteExceptionCode_t
Enumeration of possible error codes that can be returned by a remote service.
Definition RemoteExceptionCode_t.hpp:30