18 std::string mErrText,mFile,
mType;
21 _TheoraGenericException(
const std::string& errorText, std::string type =
"",std::string file =
"",
int line = 0);
24 virtual std::string repr();
30 const std::string
getType(){
return mType; }
33 #define TheoraGenericException(msg) _TheoraGenericException(msg, "TheoraGenericException", __FILE__, __LINE__)
36 #define exception_cls(name) class name : public _TheoraGenericException \
39 name(const std::string& errorText,std::string type = "",std::string file = "",int line = 0) : \
40 _TheoraGenericException(errorText, type, file, line){} \
Definition: TheoraException.h:15
int mLineNumber
Definition: TheoraException.h:19
virtual const std::string & getErrorText()
Definition: TheoraException.h:28
virtual ~_TheoraGenericException()
Definition: TheoraException.h:22
std::string mType
Definition: TheoraException.h:18
#define exception_cls(name)
Definition: TheoraException.h:36
#define TheoraPlayerExport
Definition: TheoraExport.h:25
const std::string getType()
Definition: TheoraException.h:30