20.1.7.19. RpcRemoteException

class RpcRemoteException : public eprosima::fastdds::dds::rpc::RpcException

Base class for exceptions that map to a RpcExceptionCode_t.

Subclassed by eprosima::fastdds::dds::rpc::RemoteInvalidArgumentError, eprosima::fastdds::dds::rpc::RemoteOutOfResourcesError, eprosima::fastdds::dds::rpc::RemoteUnknownExceptionError, eprosima::fastdds::dds::rpc::RemoteUnknownOperationError, eprosima::fastdds::dds::rpc::RemoteUnsupportedError

Public Functions

inline RpcRemoteException(RemoteExceptionCode_t code, const char *msg)

Constructor.

RpcRemoteException(const RpcRemoteException &other) noexcept = default

Copy constructor.

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

Copy assignment.

virtual ~RpcRemoteException() noexcept = default

Destructor.

inline RemoteExceptionCode_t code() const noexcept

Get the exception code.

Returns:

The exception code.