11 #ifndef _LIBALERROR_ALERROR_ALERROR_H_
12 #define _LIBALERROR_ALERROR_ALERROR_H_
25 #define ALERROR(module, method, description) \
26 AL::ALError(module, method, description, __FILE__, __LINE__)
48 class ALERROR_API
ALError :
public std::runtime_error
59 ALError(
const std::string& pModuleName,
60 const std::string& pMethod,
61 const std::string& pDescription,
62 const char* pszFilename = 0,
63 const unsigned int pnNumLine = 0);
80 QI_API_DEPRECATED
const std::string toString()
const;
85 QI_API_DEPRECATED
const std::string& getModuleName()
const;
90 QI_API_DEPRECATED
const std::string& getMethodName()
const;
95 QI_API_DEPRECATED
const std::string& getFileName()
const;
100 QI_API_DEPRECATED
int getLine()
const;
105 QI_API_DEPRECATED
const std::string getDescription()
const;
109 #endif // _LIBALERROR_ALERROR_ALERROR_H_