libyui  3.0.5
 All Classes Functions Variables Enumerations Friends
YUIPropertyException Class Referenceabstract

#include <YUIException.h>

Inheritance diagram for YUIPropertyException:
Collaboration diagram for YUIPropertyException:

Public Member Functions

YProperty property () const
 
YWidgetwidget () const
 
void setWidget (YWidget *w)
 
- 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 ()
 

Protected Member Functions

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

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)
 

Detailed Description

Abstract base class for widget property exceptions.

Definition at line 490 of file YUIException.h.

Member Function Documentation

virtual std::ostream& YUIPropertyException::dumpOn ( std::ostream &  str) const
protectedpure virtual

Write proper error message with all relevant data. Reimplemented from YUIException.

Reimplemented from YUIException.

Implemented in YUIBadPropertyArgException, YUISetReadOnlyPropertyException, YUIPropertyTypeMismatchException, and YUIUnknownPropertyException.

YProperty YUIPropertyException::property ( ) const
inline

Returns the property that caused this exception.

Definition at line 507 of file YUIException.h.

void YUIPropertyException::setWidget ( YWidget w)
inline

Set the corresponding widget.

Definition at line 517 of file YUIException.h.

YWidget* YUIPropertyException::widget ( ) const
inline

Returns the corresponding widget or 0 if there was none.

Definition at line 512 of file YUIException.h.


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