Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to handle possible exceptions
Message
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01315936
Message ID:
01315965
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I'm wondering where should we handle possible errors - in the back-end in SP code or in the front end or in both?
>
>Which approach do you usually take?
>
>Thanks in advance.

If it is an execption the user should know about (underlying data has changed prior to update or duplicate key or something) then IMO the exception is best handled at the front end where you can give the user a clear message.

If an exception happens that does not affect what the user is trying to do, handle it at the server.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform