libalerror  1.14.5
alerror/alnetworkerror.h
Go to the documentation of this file.
00001 
00010 #pragma once
00011 #ifndef _LIBALERROR_ALERROR_ALNETWORKERROR_H_
00012 #define _LIBALERROR_ALERROR_ALNETWORKERROR_H_
00013 
00014 # include <alerror/config.h>
00015 # include <alerror/alerror.h>
00016 
00017 # include <string>
00018 
00025 # define ALNETWORKERROR(module, method, description)                    \
00026   AL::ALNetworkError(module, method, description, __FILE__, __LINE__)
00027 
00028 namespace AL
00029 {
00030 
00037   class ALERROR_API ALNetworkError : public ALError
00038   {
00039   public:
00048     ALNetworkError(std::string pModuleName,
00049                    std::string pMethod,
00050                    std::string pDescription,
00051                    const char* pszFilename = NULL,
00052                    const unsigned int pnNumLine = 0);
00053   };
00054 }
00055 
00056 #endif  // _LIBALERROR_ALERROR_ALNETWORKERROR_H_
 All Classes Files Functions Defines