#include <YUIException.h>
Public Member Functions | |
YUIUnsupportedWidgetException (const std::string &widgetType) | |
![]() | |
YUIException () | |
YUIException (const std::string &msg_r) | |
virtual | ~YUIException () throw () |
const YCodeLocation & | where () const |
void | relocate (const YCodeLocation &newLocation) const |
const std::string & | msg () const |
void | setMsg (const std::string &msg) |
std::string | asString () const |
virtual const char * | what () const throw () |
Additional Inherited Members | |
![]() | |
static std::string | strErrno (int errno_r) |
static std::string | strErrno (int errno_r, const std::string &msg) |
static void | log (const YUIException &exception, const YCodeLocation &location, const char *const prefix) |
![]() | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Exception class for "optional widget not supported".
Note that applications are supposed to check with YUI::optionalWidgetFactory()->hasXYWidget() before trying to create such a widget. This exception is thrown if that check wasn't done, the application tried to create that kind of widget anyway, but the UI doesn't support that widget.