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

#include <YUIException.h>

Inheritance diagram for YUIPropertyTypeMismatchException:
Collaboration diagram for YUIPropertyTypeMismatchException:

Public Member Functions

 YUIPropertyTypeMismatchException (const YProperty &property, YPropertyType type, YWidget *widget=0)
 
YPropertyType type () const
 
- 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 "property type mismatch": The application tried to set a property with a wrong type.

Member Function Documentation

◆ dumpOn()

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

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

Implements YUIPropertyException.

◆ type()

YPropertyType YUIPropertyTypeMismatchException::type ( ) const
inline

Return the property type the application tried to set.


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