#include <YUIException.h>


Public Member Functions | |
| YUIInvalidChildException (YWidget *container, YWidget *child=0) | |
| YWidget * | container () const |
| YWidget * | child () const |
Public Member Functions inherited from YUIException | |
| YUIException () | |
| YUIException (const std::string &msg_r) | |
| virtual | ~YUIException () throw () |
| const YCodeLocation & | where () 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) |
Exception class for "invalid child". One of:
|
inline |
Returns the child widget.
|
inline |
Returns the container widget whose child should be removed etc.
|
inlineprotectedvirtual |
Write proper error message with all relevant data. Reimplemented from YUIException.
Reimplemented from YUIException.