#include <YUIException.h>
Public Member Functions | |
YProperty | property () const |
YWidget * | widget () const |
void | setWidget (YWidget *w) |
![]() | |
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 | |
YUIPropertyException (const YProperty &prop, YWidget *widget=0) | |
virtual std::ostream & | dumpOn (std::ostream &str) const =0 |
Additional Inherited Members | |
![]() | |
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) |
Abstract base class for widget property exceptions.
|
protectedpure virtual |
Write proper error message with all relevant data. Reimplemented from YUIException.
Reimplemented from YUIException.
Implemented in YUIBadPropertyArgException, YUIPropertyTypeMismatchException, YUISetReadOnlyPropertyException, and YUIUnknownPropertyException.
|
inline |
Returns the property that caused this exception.
|
inline |
Set the corresponding widget.
|
inline |
Returns the corresponding widget or 0 if there was none.