Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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.

share|improve this question

closed as not a real question by gnat, Walter, psr, Matthieu, Jim G. Aug 23 '12 at 20:23

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
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 question –  superM Aug 7 '12 at 8:05
    
Could you point me to right direction as I have not found the answer I was looking for? –  Lamin Sanneh Aug 7 '12 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 Aug 7 '12 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 Aug 7 '12 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 any –  superM Aug 7 '12 at 8:26
add comment

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.