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

#include <YUIException.h>

Inheritance diagram for YUIUnknownPropertyException:
Collaboration diagram for YUIUnknownPropertyException:

Public Member Functions

 YUIUnknownPropertyException (const std::string &propertyName, YWidget *widget=0)
 
- Public Member Functions inherited from YUIPropertyException
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

virtual std::ostream & dumpOn (std::ostream &str) const
 
- Protected Member Functions inherited from YUIPropertyException
 YUIPropertyException (const YProperty &prop, YWidget *widget=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

Exception class for "unknown property name": The application tried to set (or query) a property that doesn't exist.

Member Function Documentation

◆ dumpOn()

ostream & YUIUnknownPropertyException::dumpOn ( std::ostream & str) const
protectedvirtual

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

Implements YUIPropertyException.


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