libyui
 
Loading...
Searching...
No Matches
YUIUnsupportedWidgetException Class Reference

#include <YUIException.h>

Inheritance diagram for YUIUnsupportedWidgetException:
Collaboration diagram for YUIUnsupportedWidgetException:

Public Member Functions

 YUIUnsupportedWidgetException (const std::string &widgetType)
 
- Public Member Functions inherited from YUIException
 YUIException ()
 
 YUIException (const std::string &msg_r)
 
virtual ~YUIException () throw ()
 
const YCodeLocationwhere () 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 Public Member Functions inherited from YUIException
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)
 
- Protected Member Functions inherited from YUIException
virtual std::ostream & dumpOn (std::ostream &str) const
 

Detailed Description

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.


The documentation for this class was generated from the following file: