Thrown when an core Allegro module or addon fails to initialize. More...
#include <common.hpp>
Public Member Functions | |
Init_Failed (const char *addon__) | |
Creates a Need_Addon exception. | |
virtual const char * | what () const throw () |
Returns the name of the exception as a string. | |
const char * | addon () const |
Returns the name of the missing addon. |
Thrown when an core Allegro module or addon fails to initialize.
a5::Init_Failed::Init_Failed | ( | const char * | addon__ | ) |
Creates a Need_Addon exception.
virtual const char* a5::Init_Failed::what | ( | ) | const throw () [virtual] |
Returns the name of the exception as a string.
Reimplemented from a5::Exception.
const char* a5::Init_Failed::addon | ( | ) | const |
Returns the name of the missing addon.