Stupid winsock needs special way to close sockets.
[dftpd.git] / Exceptions.hpp
blobb902fb2b8acef5287fa58c02ea7c96006c73fa4e
1 #ifndef __DFTPD__EXCEPTIONS_HPP__
2 #define __DFTPD__EXCEPTIONS_HPP__
4 class ConnectionTerminated {};
5 class SyntaxError {};
6 class QuitRequested {};
7 class SessionError {};
8 class ServerCrash {};
10 extern ConnectionTerminated ConnectionTerminatedException;
11 extern SyntaxError SyntaxErrorException;
12 extern QuitRequested QuitRequestedException;
13 extern SessionError SessionErrorException;
14 extern ServerCrash ServerCrashException;
16 #endif