Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2013, 01:43 PM
Friend of Wrox
 
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
Default Global Error Handling and Custom Error Pages

Hi Imar,

Does Global Error Handling and using Custom Error Pages take the place of wrapping code that you anticapate may cause an exception in a try catch block?

Thanks.
Tulsi.
 
Old April 25th, 2013, 04:40 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not really; those are for unhandled exceptions (e.g. the ones you don't foresee) while try/catch blocks are for situations where you expect an error might occur which you can then handle gracefully (by retrying, by showing a message to the user and so on).

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Email "File Not Found" But No Custom Error Displayed? Ian Ryder ASP.NET 4 General Discussion 3 June 4th, 2012 10:51 AM
Understanding Global Error Handling markmanxp BOOK: Beginning ASP.NET 4 : in C# and VB 4 August 26th, 2011 10:48 AM
Custom Error Pages AlexW ASP.NET 4 General Discussion 3 July 28th, 2011 04:52 AM
Custom HTTP Error Handling windows_mss ASP.NET 1.0 and 1.1 Professional 0 March 14th, 2007 02:44 AM
Error Handling evad Excel VBA 2 August 18th, 2005 03:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.