LockedExternalAccessException.hpp
Go to the documentation of this file.
1 // Copyright 2023 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 
15 #ifndef _FASTCDR_EXCEPTIONS_LOCKEDEXTERNALACCESSEXCEPTION_H_
16 #define _FASTCDR_EXCEPTIONS_LOCKEDEXTERNALACCESSEXCEPTION_H_
17 
18 #include "Exception.h"
19 
20 namespace eprosima {
21 namespace fastcdr {
22 namespace exception {
28 {
29 public:
30 
37  const char* const& message) noexcept;
38 
45  const LockedExternalAccessException& ex) noexcept;
46 
53  LockedExternalAccessException&& ex) noexcept;
54 
61  const LockedExternalAccessException& ex) noexcept;
62 
69  LockedExternalAccessException&& ex) noexcept;
70 
72  virtual Cdr_DllAPI ~LockedExternalAccessException() noexcept;
73 
75  Cdr_DllAPI void raise() const override;
76 
79 };
80 } //namespace exception
81 } //namespace fastcdr
82 } //namespace eprosima
83 #endif // _FASTCDR_EXCEPTIONS_LOCKEDEXTERNALACCESSEXCEPTION_H_
eprosima::fastcdr::exception::LockedExternalAccessException::LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
static const Cdr_DllAPI char *const LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
Default message used in the library.
Definition: LockedExternalAccessException.hpp:78
eprosima::fastcdr::exception::LockedExternalAccessException
This class is thrown as an exception when accessing to set the value of a locked external.
Definition: LockedExternalAccessException.hpp:27
Exception.h
eprosima::fastcdr::exception::LockedExternalAccessException::LockedExternalAccessException
Cdr_DllAPI LockedExternalAccessException(const char *const &message) noexcept
Default constructor.
Definition: LockedExternalAccessException.cpp:22
eprosima::fastcdr::exception::LockedExternalAccessException::~LockedExternalAccessException
virtual Cdr_DllAPI ~LockedExternalAccessException() noexcept
Default destructor.
Definition: LockedExternalAccessException.cpp:64
eprosima::fastcdr::exception::Exception
This abstract class is used to create exceptions.
Definition: Exception.h:29
Cdr_DllAPI
#define Cdr_DllAPI
Definition: fastcdr_dll.h:51
eprosima::fastcdr::exception::LockedExternalAccessException::operator=
Cdr_DllAPI LockedExternalAccessException & operator=(const LockedExternalAccessException &ex) noexcept
Assigment operation.
Definition: LockedExternalAccessException.cpp:40
eprosima
Definition: fixed_size_string.hpp:32


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44