15 #ifndef __IPSDKUTIL_BASEEXCEPTION_H__ 16 #define __IPSDKUTIL_BASEEXCEPTION_H__ 21 #pragma warning (push) 22 #pragma warning (disable : 4251 4275) 28 #include <boost/scoped_ptr.hpp> 29 #include <boost/exception/exception.hpp> 37 public boost::exception
52 const char* functionName,
63 const char* functionName,
75 const char* functionName,
78 const std::exception& exceptionFromReThrow);
94 const char* what()
const throw();
97 const std::string& getMsg()
const;
100 const char* getFunctionName()
const;
103 const char* getFilePath()
const;
142 inline const std::string&
151 return _functionName;
169 return _pExcpFromReThrow.get();
177 #pragma warning (pop) 179 #endif // __IPSDKUTIL_BASEEXCEPTION_H__ ipUInt32 getLineIdx() const
recovery of line number associated to exception
Definition: BaseException.h:161
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
BaseExceptionPtr _pExcpFromReThrow
previous exception from rethrow
Definition: BaseException.h:130
const char * _filePath
file path associated to exception
Definition: BaseException.h:121
Base exception class for IPSDK library.
Definition: BaseException.h:36
std::string _msg
message associed to exception
Definition: BaseException.h:115
const char * _functionName
function name associated to exception
Definition: BaseException.h:118
const char * getFunctionName() const
recovery of function name associated to exception
Definition: BaseException.h:149
Base types for multiplatform compatibility.
#define IPSDKUTIL_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKUtilExports.h:27
const BaseException * getExcpFromReThrow() const
recovery of pointer on previous exception
Definition: BaseException.h:167
ipUInt32 _lineIdx
line number associated to exception
Definition: BaseException.h:124
Definition of import/export macro for library.
boost::scoped_ptr< BaseException > BaseExceptionPtr
BaseException scoped pointer.
Definition: BaseException.h:127
const char * getFilePath() const
recovery of file path associated to exception
Definition: BaseException.h:155
const std::string & getMsg() const
recovery of error message associated to exception
Definition: BaseException.h:143
const char * what() const
recovery of error string associated to exception
Definition: BaseException.h:137
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53