libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
net_except.h
1 // Libiqxmlrpc - an object-oriented XML-RPC solution.
2 // Copyright (C) 2011 Anton Dedov
3 
4 #ifndef _libiqnet_net_except_h_
5 #define _libiqnet_net_except_h_
6 
7 #include "api_export.h"
8 
9 #include <stdexcept>
10 
11 namespace iqnet
12 {
13 
14 #ifdef _MSC_VER
15 #pragma warning(push)
16 #pragma warning(disable: 4275)
17 #endif
18 
20 class LIBIQXMLRPC_API network_error: public std::runtime_error {
21 public:
22  network_error( const std::string& msg, bool use_errno = true, int myerrno = 0 );
23 };
24 
25 #ifdef _MSC_VER
26 #pragma warning(pop)
27 #endif
28 
29 } // namespace iqnet
30 
31 #endif