Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IOException.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
4 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
5 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
6 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7 */
8
9#pragma once
10
11#include "base/BaseException.h"
12
16class IOException : public BaseException
17{
19};
20
25{
26 using IOException::IOException;
27};
28
33{
34 using IOException::IOException;
35
36protected:
37 std::string getWhat() const throw() override;
38};
39
44{
45 using IOException::IOException;
46
47protected:
48 std::string getWhat() const throw() override;
49};
50
55{
56 using IOException::IOException;
57
58protected:
59 std::string getWhat() const throw() override;
60};
BaseException()
Use getWhat() as the result of what().
Definition BaseException.cpp:18
The IOCloseException - Thrown if a stream cannot be closed.
Definition IOException.h:25
IOClosedException - Thrown when attempting to close or perform I/O on an already closed.
Definition IOException.h:33
std::string getWhat() const override
Get a human readable string describing the exception.
Definition IOException.cpp:15
IOEndOfStreamException - Thrown when attempting to read beyond the end of a stream.
Definition IOException.h:44
std::string getWhat() const override
Get a human readable string describing the exception.
Definition IOException.cpp:24
The IOException class Generic i/o exception class.
Definition IOException.h:17
IOWouldBlockException - Thrown if an operation on a stream would block.
Definition IOException.h:55
std::string getWhat() const override
Get a human readable string describing the exception.
Definition IOException.cpp:33