11 #include "commons/Exception.h" 12 #include "utils/log.h" 17 XBMCCOMMONS_STANDARD_EXCEPTION(WrongTypeException);
31 Exception(
"UnimplementedException")
32 {
SetMessage(
"Unimplemented method: %s::%s(...)", classname, methodname); }
43 inline UnhandledException(
const char* _message,...) : Exception(
"UnhandledException") { XBMCCOMMONS_COPYVARARGS(_message); }
54 #define THROW_UNIMP(classname) throw UnimplementedException(classname, __FUNCTION__) This is what callback exceptions from the scripting language are translated to.
Definition: Exception.h:39
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
UnimplementedException Can be used in places like the Control hierarchy where the requirements of dyn...
Definition: Exception.h:26
void SetMessage(const char *fmt,...) XBMCCOMMONS_ATTRIB_EXCEPTION_FORMAT
This message can be called from the constructor of subclasses.
Definition: Exception.h:70
This class a superclass for exceptions that want to utilize some utility functionality including auto...
Definition: Exception.h:44