libyui  3.0.10
 All Classes Functions Variables Enumerations Friends
YUITooManyChildrenException< YWidget > Class Template Reference

#include <YUIException.h>

Inheritance diagram for YUITooManyChildrenException< YWidget >:
YUIException

Public Member Functions

 YUITooManyChildrenException (YWidget *container)
 
YWidgetcontainer () const
 
- 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
 

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

template<class YWidget>
class YUITooManyChildrenException< YWidget >

Exception class for "too many children": Attempt to add a child to a widget class that can't handle children (YPushButton etc.) or just one child (YFrame, YDialog).

Definition at line 647 of file YUIException.h.

Member Function Documentation

template<class YWidget >
YWidget* YUITooManyChildrenException< YWidget >::container ( ) const
inline

Returns the container widget that can't handle that many children.

Definition at line 662 of file YUIException.h.

template<class YWidget >
virtual std::ostream& YUITooManyChildrenException< YWidget >::dumpOn ( std::ostream &  str) const
inlineprotectedvirtual

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

Reimplemented from YUIException.

Definition at line 670 of file YUIException.h.


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