Skip to content

Commit 89c2c99

Browse files
committed
Classe SocketException
1 parent a1eae74 commit 89c2c99

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/httpServer/SocketException.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* http-cpp-server-base
2+
* Base de um servidor http simples em c++ para escrever
3+
* serviços para projetos de robótica.
4+
* SocketException class
5+
*
6+
* @author : Rob Tougher (mail-to: rtougher@yahoo.com)
7+
* @source : http://tldp.org/LDP/LG/issue74/tougher.html
8+
* @date : 2002
9+
*/
10+
11+
#ifndef SocketException_class
12+
#define SocketException_class
13+
14+
#include <string>
15+
16+
class SocketException
17+
{
18+
public:
19+
SocketException ( std::string s ) : m_s ( s ) {};
20+
~SocketException (){};
21+
22+
std::string description() { return m_s; }
23+
24+
private:
25+
26+
std::string m_s;
27+
28+
};
29+
30+
#endif

0 commit comments

Comments
 (0)