Contents Up Previous Next

Exceptions

No exceptions at all, because wxWin cannot deal with them safely, instead in wx-fasion "bool" as return value is added to failable methods/functions, and checked/wxASSERT'ed when nessesary. Use of integer err. codes are avoided, because they add lots of inflexible code, instead in the future it would be possible to add mechanism for stacking of string-error. messages -- something more flexible then single "last-error". This way checking of what *exactly* has failed could be done only in the most upper levels of the controlling codes.