deskflow/src/lib/io/XIO.cpp

36 lines
670 B
C++
Raw Normal View History

2012-06-10 16:50:54 +00:00
/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
2012-06-10 16:50:54 +00:00
*/
#include "io/XIO.h"
2012-06-10 16:50:54 +00:00
//
// XIOClosed
//
std::string XIOClosed::getWhat() const throw()
{
return format("XIOClosed", "already closed");
2012-06-10 16:50:54 +00:00
}
//
// XIOEndOfStream
//
std::string XIOEndOfStream::getWhat() const throw()
{
return format("XIOEndOfStream", "reached end of stream");
2012-06-10 16:50:54 +00:00
}
//
// XIOWouldBlock
//
std::string XIOWouldBlock::getWhat() const throw()
{
return format("XIOWouldBlock", "stream operation would block");
2012-06-10 16:50:54 +00:00
}