ErrorHandlingStory

Description

In order to give some usefull feedback to the enduser when something goes wrong ( very unlikely offcourse smile ) the exception hiearchy and handling has to be extended to allow for more descriptive error messages.

Resources

Functional specifications

  • Inventarise usefull error messages. For example the synchronisation class should distinguish connection errors and synchronisation errors.
  • Create exception hierarchy
  • Implement the error pages

Budget/Hours

task estimate todo spent developer
Inventarise usefull error messages 2 0 2 Ivo
Create exception hierarchy (and implement them) 6 0 4 Ivo
Implement the error pages 4 0 4 Ivo
Total 12 0 10

Notes

Usefull exception subclasses:

  • DaoException?
    • InvalidURIDaoException?
    • ConnectionDaoExeption?
    • SSLDaoException?
    • IcalParserDaoException?

Discussion

Is the preferred way to handle the exceptions to throw a specialized DaoException subclass that will be wrapped in a WebicalException and then check the cause of the WebicalException? in the web layer? Or should every DaoException subclass be matched with a WebicalException subclass to ease the exception handling?

-- IvoVanDongen - 23 Oct 2006

Topic revision: r5 - 19 Nov 2006 - 20:48:12 - IvoVanDongen
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback