I mean what are some of the ways other programmers deal with exception for example, when an error occurs when accessing a web service for say. If an example cant be given for windows phone, give the closest you could.
-
don't bombard with questions. Take your time and take a look at all the links posted to you. Maybe after you read them you won't have so many questionsuperM– superM2012-08-07 08:05:11 +00:00Commented Aug 7, 2012 at 8:05
-
Could you point me to right direction as I have not found the answer I was looking for?Lamin Sanneh– Lamin Sanneh2012-08-07 08:07:34 +00:00Commented Aug 7, 2012 at 8:07
-
I tryed my best with my previous answer. I'm not familiar with windows-phone programming, so I can't help you anything here. But from the speed that your questions come I see that you didn't even try to see what the previous answers were about. If you don't read the answers and the links, than what's the point of asking questions?superM– superM2012-08-07 08:11:31 +00:00Commented Aug 7, 2012 at 8:11
-
Could you just give me a genric answer then, one that does not apply to windows phone? Just looking for help thats all. And cheers for even bothering to comment, I will look better next time.Lamin Sanneh– Lamin Sanneh2012-08-07 08:14:54 +00:00Commented Aug 7, 2012 at 8:14
-
There can be no trivial answers. I can only advise you to encapsulate exception-handling, and to find some good tutorial. unfortunately, I can't suggest anysuperM– superM2012-08-07 08:26:16 +00:00Commented Aug 7, 2012 at 8:26
1 Answer
There are different ways how to handle errors. basically you use framework to handle the application errors as well as there is a way to handle device related exceptions.
Here is a good intro to how to handle device specific exceptions on windows phone: - Windows Phone 7 Development : Handling Device Exception
There is a related pots in SE - Windows Phone 7 - Handle Error in Application_UnhandledException with WebClient.
Nice video-tutorial from Channel 9 - Code Cleanup, Exception Handling, and Preparing for the Marketplace