libyui
|
#include <YUIException.h>
Public Member Functions | |
YProperty | property () const |
YWidget * | widget () const |
void | setWidget (YWidget *w) |
Protected Member Functions | |
YUIPropertyException (const YProperty &prop, YWidget *widget=0) | |
virtual ostream & | dumpOn (ostream &str) const =0 |
Abstract base class for widget property exceptions.
virtual ostream& YUIPropertyException::dumpOn | ( | ostream & | str | ) | const [protected, pure virtual] |
Write proper error message with all relevant data. Reimplemented from YUIException.
Reimplemented from YUIException.
Implemented in YUIUnknownPropertyException, YUIPropertyTypeMismatchException, YUISetReadOnlyPropertyException, and YUIBadPropertyArgException.
YProperty YUIPropertyException::property | ( | ) | const [inline] |
Returns the property that caused this exception.
void YUIPropertyException::setWidget | ( | YWidget * | w | ) | [inline] |
Set the corresponding widget.
YWidget* YUIPropertyException::widget | ( | ) | const [inline] |
Returns the corresponding widget or 0 if there was none.