Re: error_message_exception
Marc Strämke <[email protected]> Thu, 24 Jul 2003 08:47:16 +0200
| Newsgroups | gmane.comp.embedded.stk.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
Hmmm, isnt that hard to do, but we really shouldnt be using error_message_exception anyway! we need specific error classes for all possible errors, otherwise handling is near to impossible. We desperately need to create some new exception classes like file_not_found or something like that (or png_loading_error->image_loading_error) What would be nice to have are some really good Enforcements and Assertments (see CUJ.com for some really nice way to do this) Darren Vincent Hart wrote: > It would be nice if error_message_exception: > > 1) had a shorter name! > 2) allowed for the same stream syntax as the logging methods. > > Thoughts ? > > Darren