Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1. What’s the difference between debugging and tracing?

2. Imagine you have some code that could potentially throw an exception. For example, you try to send an e-mail message to a mail server, or write a file to disk while you’re not sure if you
have the right permissions to do so. What kind of exception handling strategy would you use to avoid the exception from being displayed in the browser? What code would you need?

3. You’re taking over a web site that has been built by another developer who had never heard of exception handling. Your client is complaining about the quality of the site and the large number
of “yellow screens of death” that users see. Besides analyzing the code for the entire application,what would be a quick solution to get information about the errors and the locations where they occur? And how can you shield the site’s users from the dirty details of the exception messages?
Posted

Copying and pasting your homework to this website is not the same as study, and it sure is not the same as learning. Your teacher is sure to know how to use google, so if you think he can identify you from your username, you should go and talk to him before he talks to you, or perhaps doesn't bother, but just assumes you always cheat, and fails you.
 
Share this answer
 
Comments
Sandeep Mewara 29-Jul-10 1:30am    
Well, they sound more like questions of an interview. :)
99% these questions were asked to you in an interview. And surely it looks like you didn't knew then!

Well, let me tell you something about what is expected by enquirers here:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

What you are asking are some descriptive question which one can learn while working or reading. This can be Googled anytime!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900