libalerror  1.14
 All Classes Files Functions Macros Pages
alnetworkerror.h
Go to the documentation of this file.
1 
10 #pragma once
11 #ifndef _LIBALERROR_ALERROR_ALNETWORKERROR_H_
12 #define _LIBALERROR_ALERROR_ALNETWORKERROR_H_
13 
14 # include <alerror/config.h>
15 # include <alerror/alerror.h>
16 
17 # include <string>
18 
25 # define ALNETWORKERROR(module, method, description) \
26  AL::ALNetworkError(module, method, description, __FILE__, __LINE__)
27 
28 namespace AL
29 {
30 
37  class ALERROR_API ALNetworkError : public ALError
38  {
39  public:
48  ALNetworkError(std::string pModuleName,
49  std::string pMethod,
50  std::string pDescription,
51  const char* pszFilename = NULL,
52  const unsigned int pnNumLine = 0);
53  };
54 }
55 
56 #endif // _LIBALERROR_ALERROR_ALNETWORKERROR_H_