Implement Exception Handling in ASP.NET C# Project
Posted
by Shrewd Demon
on Stack Overflow
See other posts from Stack Overflow
or by Shrewd Demon
Published on 2010-05-10T10:15:01Z
Indexed on
2010/05/10
10:34 UTC
Read the original article
Hit count: 323
hi,
I have an application that has many tiers. as in, i have... Presentation Layer (PL) - > contains all the html My Codes Layer (CL) -> has all my code Entity Layer (EL) -> has all the container entities Business Logic Layer (BLL) -> has the necessary business logic Data Logic Layer (DLL) -> any logic against data Data Access Layer (DAL) -> one that accesses data from the database
Now i want to provide error handling in my DLL since it is responsible for executing statement like ExecureScalar and all....
And i am confused as to how to go about it...i mean do i catch the error in the DLL and throw it back to the BLL and from there throw it back to my code or what....
can any one please help me how do i implement a clean and easy error handling techinque
help you be really appreciated.
Thank you.
© Stack Overflow or respective owner