How do I catch the exception in windows application in c#?

Posted by user291169 on Stack Overflow See other posts from Stack Overflow or by user291169
Published on 2010-03-11T04:48:04Z Indexed on 2010/03/11 4:55 UTC
Read the original article Hit count: 207

Filed under:
  1. Where should we catch exception

• In Layer Boundary (UI->BLL & BLL->DAL) • In that methods where there is no interaction between Layers only some business logic present

  1. How do I write exception in Save/Delete where some DML statement executing?

• What should I write in DAL end? • What should I write in BLL end? • What should I write in UI end?

  1. In Get/Load method How do we handle exception

• What should I write in BLL end? • What should I write in UI end?

  1. Should I catch System exception?

© Stack Overflow or respective owner

Related posts about c#3.5