libalerror  2.4.3.28-r2
 All Classes Namespaces 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_
ALNetworkError is an exception raised when a network error occur in alcommon.
ALError is used to send exception. All NAOqi errors are based on exception. All user commands should ...
Definition: alerror.h:48