Implement Exception Handling in ASP.NET C# Project
- by Shrewd Demon
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.