Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Exception.h File Reference
#include "commons/Exception.h"
#include "utils/log.h"

Classes

class  XBMCAddon::UnimplementedException
 
class  XBMCAddon::UnhandledException
 

Namespaces

namespace  XBMCAddon
 

Macros

#define THROW_UNIMP(classname)
 

Functions

 XBMCAddon::XBMCCOMMONS_STANDARD_EXCEPTION (WrongTypeException)
 

Macro Definition Documentation

◆ THROW_UNIMP

#define THROW_UNIMP ( classname)
Value:
throw UnimplementedException(classname, __FUNCTION__)

These macros allow the easy declaration (and definition) of parent class virtual methods that are not implemented until the child class. This is to support the idosyncracies of dynamically typed scripting languages. See the comment in AddonControl.h for more details.