l3.xsock/src/xsock_errors.h

34 lines
1.1 KiB
C
Raw Normal View History

2006-01-10 10:42:33 +00:00
#ifndef _XSOCK_ERRORS
#define _XSOCK_ERRORS 1
namespace XSockExcept {
class eXSockExcept { };
class eInvalidSocket : eXSockExcept { };
class eUnknownProtocol : eXSockExcept { };
class eUnableToListen : eXSockExcept { };
class eUnableToConnect : eXSockExcept { };
class eUnableToAccept : eXSockExcept { };
class eUnableToBind : eXSockExcept { };
class eSockUnreadable : eXSockExcept { };
class eSockUnwritable : eXSockExcept { };
class eUnknownXSockRole : eXSockExcept { };
class eUnableToResolveName : eXSockExcept { };
class eXSockNotReady : eXSockExcept { };
class eConnectionClosedByPeer : eXSockExcept { };
class eDeadLock : eXSockExcept { };
class eUnableToLock : eXSockExcept { };
class eUnableToUnlock : eXSockExcept { };
class eUnableToCloseFile : eXSockExcept { };
class eUnableToOpenFile : eXSockExcept { };
class eUnableToStatFile : eXSockExcept { };
class eUnableToOpen2ndFile : eXSockExcept { };
class eUnableToCreateFile : eXSockExcept { };
class eUnableToDeleteFile : eXSockExcept { };
class eUnableToReadFile : eXSockExcept { };
class eUnableToWriteFile : eXSockExcept { };
/* d<>finition des exceptions ici */
}
#endif