Results 1 to 4 of 4

Thread: Exception management in multi tier web apps

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    Re: Exception management in multi tier web apps

    I guess no one likes exceptionmanagement eh
    Come on, any architects here?

    /Henrik

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Exception management in multi tier web apps

    Generally, data layers should swallow errors, log them, and then rethrow them.

    An error related to a data error that involves a custom object, like Registrant ie, should throw an InvalidRegistrant error (custom errors).

    On the business side, again, custom objects should have their own custom exceptions.

  3. #3
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870

    Re: Exception management in multi tier web apps

    Hi MrNorth,

    I only handle the errors at each level, logging them, and then re-throwing them if necessary.
    I have a question regarding the 'multi-tier' approach we use here:
    http://www.vbforums.com/showthread.php?t=327915
    Any input would be much appreciated

    Many thanks
    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width