Line | |
---|
1 | /*
|
---|
2 | * synergy -- mouse and keyboard sharing utility
|
---|
3 | * Copyright (C) 2002 Chris Schoeneman
|
---|
4 | *
|
---|
5 | * This package is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU General Public License
|
---|
7 | * found in the file COPYING that should have accompanied this file.
|
---|
8 | *
|
---|
9 | * This package is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
12 | * GNU General Public License for more details.
|
---|
13 | */
|
---|
14 |
|
---|
15 | #include "XIO.h"
|
---|
16 |
|
---|
17 | //
|
---|
18 | // XIOClosed
|
---|
19 | //
|
---|
20 |
|
---|
21 | CString
|
---|
22 | XIOClosed::getWhat() const throw()
|
---|
23 | {
|
---|
24 | return format("XIOClosed", "already closed");
|
---|
25 | }
|
---|
26 |
|
---|
27 |
|
---|
28 | //
|
---|
29 | // XIOEndOfStream
|
---|
30 | //
|
---|
31 |
|
---|
32 | CString
|
---|
33 | XIOEndOfStream::getWhat() const throw()
|
---|
34 | {
|
---|
35 | return format("XIOEndOfStream", "reached end of stream");
|
---|
36 | }
|
---|
37 |
|
---|
38 |
|
---|
39 | //
|
---|
40 | // XIOWouldBlock
|
---|
41 | //
|
---|
42 |
|
---|
43 | CString
|
---|
44 | XIOWouldBlock::getWhat() const throw()
|
---|
45 | {
|
---|
46 | return format("XIOWouldBlock", "stream operation would block");
|
---|
47 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.