| 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <[email protected]> |
| 3 | |
| 4 | #include "internal.hpp" |
| 5 | |
| 6 | namespace gpiod { |
| 7 | |
| 8 | GPIOD_CXX_API chip_closed::chip_closed(const ::std::string& what) |
| 9 | : ::std::logic_error(what) |
| 10 | { |
| 11 | |
| 12 | } |
| 13 | |
| 14 | GPIOD_CXX_API chip_closed::chip_closed(const chip_closed& other) noexcept |
| 15 | : ::std::logic_error(other) |
| 16 | { |
| 17 | |
| 18 | } |
| 19 | |
| 20 | GPIOD_CXX_API chip_closed::chip_closed(chip_closed&& other) noexcept |
| 21 | : ::std::logic_error(other) |
| 22 | { |
| 23 | |
| 24 | } |
| 25 | |
| 26 | GPIOD_CXX_API chip_closed& chip_closed::operator=(const chip_closed& other) noexcept |
| 27 | { |
| 28 | ::std::logic_error::operator=(other); |
| 29 | |
| 30 | return *this; |
| 31 | } |
| 32 | |
| 33 | GPIOD_CXX_API chip_closed& chip_closed::operator=(chip_closed&& other) noexcept |
| 34 | { |
| 35 | ::std::logic_error::operator=(other); |
| 36 | |
| 37 | return *this; |
| 38 | } |
| 39 | |
| 40 | GPIOD_CXX_API chip_closed::~chip_closed() |
| 41 | { |
| 42 | |
| 43 | } |
| 44 | |
| 45 | GPIOD_CXX_API request_released::request_released(const ::std::string& what) |
| 46 | : ::std::logic_error(what) |
| 47 | { |
| 48 | |
| 49 | } |
| 50 | |
| 51 | GPIOD_CXX_API request_released::request_released(const request_released& other) noexcept |
| 52 | : ::std::logic_error(other) |
| 53 | { |
| 54 | |
| 55 | } |
| 56 | |
| 57 | GPIOD_CXX_API request_released::request_released(request_released&& other) noexcept |
| 58 | : ::std::logic_error(other) |
| 59 | { |
| 60 | |
| 61 | } |
| 62 | |
| 63 | GPIOD_CXX_API request_released& request_released::operator=(const request_released& other) noexcept |
| 64 | { |
| 65 | ::std::logic_error::operator=(other); |
| 66 | |
| 67 | return *this; |
| 68 | } |
| 69 | |
| 70 | GPIOD_CXX_API request_released& request_released::operator=(request_released&& other) noexcept |
| 71 | { |
| 72 | ::std::logic_error::operator=(other); |
| 73 | |
| 74 | return *this; |
| 75 | } |
| 76 | |
| 77 | GPIOD_CXX_API request_released::~request_released() |
| 78 | { |
| 79 | |
| 80 | } |
| 81 | |
| 82 | GPIOD_CXX_API bad_mapping::bad_mapping(const ::std::string& what) |
| 83 | : ::std::runtime_error(what) |
| 84 | { |
| 85 | |
| 86 | } |
| 87 | |
| 88 | GPIOD_CXX_API bad_mapping::bad_mapping(const bad_mapping& other) noexcept |
| 89 | : ::std::runtime_error(other) |
| 90 | { |
| 91 | |
| 92 | } |
| 93 | |
| 94 | GPIOD_CXX_API bad_mapping::bad_mapping(bad_mapping&& other) noexcept |
| 95 | : ::std::runtime_error(other) |
| 96 | { |
| 97 | |
| 98 | } |
| 99 | |
| 100 | GPIOD_CXX_API bad_mapping& bad_mapping::operator=(const bad_mapping& other) noexcept |
| 101 | { |
| 102 | ::std::runtime_error::operator=(other); |
| 103 | |
| 104 | return *this; |
| 105 | } |
| 106 | |
| 107 | GPIOD_CXX_API bad_mapping& bad_mapping::operator=(bad_mapping&& other) noexcept |
| 108 | { |
| 109 | ::std::runtime_error::operator=(other); |
| 110 | |
| 111 | return *this; |
| 112 | } |
| 113 | |
| 114 | GPIOD_CXX_API bad_mapping::~bad_mapping() |
| 115 | { |
| 116 | |
| 117 | } |
| 118 | |
| 119 | } /* namespace gpiod */ |