libyui
Public Member Functions | Protected Member Functions

YUIPropertyException Class Reference

#include <YUIException.h>

Inheritance diagram for YUIPropertyException:
YUIException YUIBadPropertyArgException YUIPropertyTypeMismatchException YUISetReadOnlyPropertyException YUIUnknownPropertyException

List of all members.

Public Member Functions

YProperty property () const
YWidgetwidget () const
void setWidget (YWidget *w)

Protected Member Functions

 YUIPropertyException (const YProperty &prop, YWidget *widget=0)
virtual ostream & dumpOn (ostream &str) const =0

Detailed Description

Abstract base class for widget property exceptions.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Friends