| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
RpcOperationError.hpp
1// Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
18
19#ifndef FASTDDS_DDS_RPC_EXCEPTIONS__RPCOPERATIONERROR_HPP
20#define FASTDDS_DDS_RPC_EXCEPTIONS__RPCOPERATIONERROR_HPP
21
22#include <string>
23
24#include <fastdds/fastdds_dll.hpp>
25#include <fastdds/dds/rpc/exceptions/RpcException.hpp>
26
27 namespace eprosima {
28 namespace fastdds {
29 namespace dds {
30 namespace rpc {
31
35 class RpcOperationError : public RpcException
36{
37
38 public:
39
43 RpcOperationError(
44 const std::string& message)
45 : RpcException(message)
46 {
47 }
48
52 RpcOperationError(
53 const char* message)
54 : RpcException(message)
55 {
56 }
57
61 RpcOperationError(
62 const RpcOperationError& other) noexcept = default;
63
67 RpcOperationError& operator =(
68 const RpcOperationError& other) noexcept = default;
69
73 virtual ~RpcOperationError() noexcept = default;
74
75};
76
77} // namespace rpc
78} // namespace dds
79} // namespace fastdds
80} // namespace eprosima
81
82#endif // FASTDDS_DDS_RPC_EXCEPTIONS__RPCOPERATIONERROR_HPP
eprosima::fastdds::dds::rpc::RpcException::RpcException
RpcException(const std::string &message)
Constructor.
Definition RpcException.hpp:45
eprosima::fastdds::dds::rpc::RpcOperationError::~RpcOperationError
virtual ~RpcOperationError() noexcept=default
Destructor.
eprosima::fastdds::dds::rpc::RpcOperationError::RpcOperationError
RpcOperationError(const std::string &message)
Constructor.
Definition RpcOperationError.hpp:43
eprosima::fastdds::dds::rpc::RpcOperationError::operator=
RpcOperationError & operator=(const RpcOperationError &other) noexcept=default
Copy assignment.
eprosima::fastdds::dds::rpc::RpcOperationError::RpcOperationError
RpcOperationError(const RpcOperationError &other) noexcept=default
Copy constructor.
eprosima::fastdds::dds::rpc::RpcOperationError::RpcOperationError
RpcOperationError(const char *message)
Constructor.
Definition RpcOperationError.hpp:52
eprosima::fastdds::dds::rpc
Definition DomainParticipant.hpp:59
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds
eprosima
eProsima namespace.