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