Handling BLL- and DAL-Level Exceptions in an ASP.NET Page: Step 3-Gracefully Handling BLL-Level Exceptions

Handling BLL- and DAL-Level Exceptions in an ASP.NET Page:
Step 3-Gracefully Handling BLL-Level Exceptions
This step of the VIDEO TUTORIAL will show case on how to handle exceptions that happen in a business logic layer. In order to demonstrate the graceful handling of exceptions that result from violating a business rule, a business rule is added the newly created overload of the Update Product method in the ProductsBLL class file. The new business rule states that the UnitPrice must NOT be greater than twice that of an existing unit price for a product. Therefore, if a Unit Price greater than the existing unit price for particular product during the editing of the GridView control at run time, an ApplicationException is thrown in the business logic layer and is caught during the GridView’s RowUpdated event handler. For detailed information and source code for this step, please refer to the original article.



 

This video presentation is available ONLY for REGISTERED users of this web site due to significant costs associated with data transfer of multimedia content.  Please register to view this video. Registration is FREE of charge and takes less than a minute to complete. Thanks for your consideration.

---Administrator





Copyright 2007-2012 by dotnetvideos.net   |  Privacy Statement  |  Terms of Use