23 #ifndef _OIS_EXCEPTION_HEADER_ 24 #define _OIS_EXCEPTION_HEADER_ 28 #ifdef OIS_WIN32_PLATFORM 30 #pragma warning(disable : 4275) //Silence warning from MSVC when using std::exception as the base class of a dll-interface class (OIS::Exception) 60 eType(err), eLine(line), eFile(file), eText(str) {}
63 eType(other.eType), eLine(other.eLine), eFile(other.eFile), eText(other.eText) {}
67 virtual const char* what()
const throw();
85 #define OIS_EXCEPT(err, str) throw(OIS::Exception(err, str, __LINE__, __FILE__)) 89 #define OIS_WARN(err, str) \ 94 #ifdef OIS_WIN32_PLATFORM 98 #endif //_OIS_EXCEPTION_HEADER_ #define _OISExport
Definition: OISPrereqs.h:40
Definition: OISException.h:41
Exception(OIS_ERROR err, const char *str, int line, const char *file)
Creates exception object.
Definition: OISException.h:59
Exception(const Exception &other)
Definition: OISException.h:62
Definition: OISException.h:40
Definition: OISException.h:55
Definition: OISException.h:45
Definition: OISException.h:42
OIS_ERROR
Simple enum's for dealing with exceptions.
Definition: OISException.h:36
~Exception()
Definition: OISException.h:65
Definition: OISException.h:37
Definition: OISException.h:38
Definition: OISEffect.h:28
Definition: OISException.h:44
Definition: OISException.h:39
Definition: OISException.h:43