NetSocket++  0.1
A library designed to simplify working with UNIX sockets in C++, written in OOP methodology.
 All Classes Namespaces Files Functions Variables
NetworkException.h
Go to the documentation of this file.
1 #ifndef _NETWORKEXCEPTION_H
2 #define _NETWORKEXCEPTION_H
3 
4 
5 
6 
7 
8 #include <exception>
9 #include <string>
12 namespace NetSocketPP {
15 class NetworkException: public std::exception {
16 private:
17  std::string _cmd;
18  std::string _msg;
19 public:
20  NetworkException(std::string cmd, std::string msg);
21 
22 
23  ~NetworkException() throw();
24  const char* what() const throw();
25 
26 };
27 }
28 #endif