23 #ifndef _OIS_EXCEPTION_HEADER_ 24 #define _OIS_EXCEPTION_HEADER_ 58 : eType(err), eLine(line), eFile(file), eText(str) {}
62 virtual const char* what()
const throw();
76 #define OIS_EXCEPT( err, str ) throw( OIS::Exception(err, str, __LINE__, __FILE__) ) 78 #endif //_OIS_EXCEPTION_HEADER_ #define _OISExport
Definition: OISPrereqs.h:40
Definition: OISException.h:37
const OIS_ERROR eType
The type of exception raised.
Definition: OISException.h:65
Exception(OIS_ERROR err, const char *str, int line, const char *file)
Creates exception object.
Definition: OISException.h:57
Exception()
Hidden default.
Definition: OISException.h:54
Definition: OISException.h:36
const char * eFile
The source file.
Definition: OISException.h:69
Definition: OISException.h:51
Definition: OISException.h:41
Definition: OISException.h:38
OIS_ERROR
Simple enum's for dealing with exceptions.
Definition: OISException.h:31
~Exception()
Definition: OISException.h:60
Definition: OISException.h:33
const int eLine
The line number it occurred on.
Definition: OISException.h:67
Definition: OISException.h:34
Definition: EventHelpers.h:31
Definition: OISException.h:40
Definition: OISException.h:35
Definition: OISException.h:39
const char * eText
A message passed along when the exception was raised.
Definition: OISException.h:71