barrier/io/XIO.cpp

51 lines
541 B
C++
Raw Normal View History

2001-10-06 14:13:28 +00:00
#include "XIO.h"
//
// XIOErrno
//
XIOErrno::XIOErrno() :
MXErrno()
2001-10-06 14:13:28 +00:00
{
// do nothing
}
XIOErrno::XIOErrno(int err) :
MXErrno(err)
2001-10-06 14:13:28 +00:00
{
// do nothing
}
//
// XIOClose
//
CString
XIOClose::getWhat() const throw()
2001-10-06 14:13:28 +00:00
{
return format("XIOClose", "close: %{1}", XIOErrno::getErrstr());
2001-10-06 14:13:28 +00:00
}
//
// XIOClosed
//
CString
XIOClosed::getWhat() const throw()
2001-10-06 14:13:28 +00:00
{
return format("XIOClosed", "already closed");
}
//
// XIOEndOfStream
//
CString
XIOEndOfStream::getWhat() const throw()
2001-10-06 14:13:28 +00:00
{
return format("XIOEndOfStream", "reached end of stream");
}