We are Refactoring (and of-course redesigning) our Services in layered design. We have Service operations layer (BLL), Network abstraction layer -> (deals with network proxy), Data abstraction layer. But we are a bit baffled about our exception handling strategy.
- We don't want to expose too much information from BLL to outside world. (from other layers to bll is fine)
- We don't want to clutter the code with try catch stacks
- We don't want to mess the exception handling code(like logging, emailing etc) in catch blocks
Could someone post some code samples or literature pointers which we can use to design our simple exception handling framework?