Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try Catch with Redirect
Message
From
06/10/2010 10:20:55
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01484070
Message ID:
01484149
Views:
20
>Thats always been the case. You can not redirect from a try because then the catch and final would never fire.

This is a design which is kind of limited. For example, if you have a class that is calling a hook in a client application. Assuming that we need to make sure that we catch an error on the client code, we just can't. Because, as we do not know what is in that code, we need to avoid it in case the client has some Redirect code.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform