libyui
Public Member Functions | Protected Member Functions

YUITooManyChildrenException< YWidget > Class Template Reference

#include <YUIException.h>

Inheritance diagram for YUITooManyChildrenException< YWidget >:
YUIException

List of all members.

Public Member Functions

 YUITooManyChildrenException (YWidget *container)
YWidgetcontainer () const

Protected Member Functions

virtual ostream & dumpOn (ostream &str) const

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).


Member Function Documentation

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

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

template<class YWidget >
virtual ostream& YUITooManyChildrenException< YWidget >::dumpOn ( ostream &  str) const [inline, protected, virtual]

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

Reimplemented from YUIException.


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