Visit a popular Web site and discuss what types of exception handling techniques might be used for their Web forms. Make sure to include a link to the web site you discuss.
Write 300-350 words. DUE IN 3 HOURS PLEASE HURRY.
Ans
first of all there is a need to understand that what is exception
and what is exception handling.
there are several aspect of a good program such as
1)program reliability
2)coupling
3)readability
4)self documenting code
5)portability
and
6)Robustness
yes, program should be robust, it means that if program receives
some improper input,program should not be terminated abnormally,
there should be a proper message for a user to indicate the mistake
made by the user about the input supplied by the user.
a robust program is not terminated abnormally even if program
receives improper input.
so in case of improper input, program is terminated abnormally,
such a program is called robust.
exception is a situation which forces a program to be terminated
abnormally.
take the example of a program which performs division between two
integers.
c=a/b, here the logic is correct but if user supplies b=0(incorrect
input for divisor),then the result is infinite and program will be
terminated abnormally.
so there will be a exception "Divide by Zero Error".
to handle this exception,before the processing, there should be an arrangement to deal with divisor if divisor is zero. making such types of arrangements to deal with improper inputs is called exception handling.
so with the help of exception handling it is possible to make a program robust.
Exception handling techniques used for web forms
in case of a web application exceptions are handled at following
levels
a)Application level:-
Application means a complete web site.it means scope of error is
not limited to a single page.
it is at application level.
it means exceptions are handled at global level by adding
Application_Error handler.
b)Page Level:-
At Page level, exceptions are handled by redirecting the user to an error page displaying a proper error message. All the objects( such as textboxes, listboxes ) that are supposed to be rendered on the page will not be visible, only error is displayed
apart from these there may be a code level error.
Exceptions can also be tracked by the custom logger.
in a web form the most important issue is to deal with
exceptions related to database.
for example
insert operation may attempt to insert a duplicate record in data
base table.
for example
two users can not have same user name.
to avoid this conflict, user_name should be declared as primary key
in database table.
if a user attempts to insert a user name which is already present
in database table .
there will be an exception and should be handled by the program in
elegant manner without terminating abnormally.
Visit a popular Web site and discuss what types of exception handling techniques might be used...
Design an original, professional web site following the specifications listed below. This web site will be for a business you plan to set up for yourself or for someone else. The following is a detailed list of the requirements for your web site. READ them carefully. Instructions - Web Site Requirements for the web site: General: You will thoroughly test all your pages in more than one browser. All links MUST work. All graphics must show on the page. All...
Background: The purpose of this assignment is to practice dealing with exception handling and textual data. Exception handling is a very important part of being an object-oriented programming. Rather returning some kind of int return value every time you tickle an object, C++ programmers expect methods to focus on their task at hand. If something bad happens, C++ programmers expect methods to throw exceptions. When caught, exceptions can be processed. When uncaught, they cause a program to terminate dead in...
Please provide your response for the following questions. What types of plans and decisions most likely require board of director involvement, and why? What types of decisions and plans are not appropriate for board involvement, and why? Tell about a time when an organization was not able to fully achieve all of its goals simultaneously. Why did this occur? Is complete realization of all goals impossible for an organization? Why or why not? Describe the process that an...
use your own words, don't copy and paste, don't use handwriting, please. i need your references URL Link please** Book: Marketing Management DEVELOP A CREATIVE BRIEF A creative brief is a structured document whose purpose is to communicate quickly and concisely to anyone who might be involved in the creation of promotional materials for a product. The key to making the project a success starts with having a thorough and well-thought-out creative brief. It explains the ins and outs of...
Many college students study by simply repeating their notes over and over (rote rehearsal). Although this method is good for processing data into STM there are other means to effectively move material into LTM. Please read the “How To Study Effectively” section in Chapter 8. Now, in one to two paragraphs discuss how you currently prepare for exams and how you might incorporate additional techniques to your studying behavior. Make sure that you include four strategies from the text. Based...
I have homework i was answered it .. but i need you to complete my answer to become 1000 words // i need 1000 words please use your own words, don't copy and paste, don't use handwriting, please. i need your references URL Link please** Book: Marketing Management ________________ Q: DEVELOP A CREATIVE BRIEF A creative brief is a structured document whose purpose is to communicate quickly and concisely to anyone who might be involved in the creation of promotional...
1. find an article about a product or service that impacts your daily life and write 1 to 2 paragraphs describing the item, how it impacts your life, and what factors you think are impacting the supply and demand of this item. Be sure to include the URL of the article you accessed for this question. 2.What are the ethics of outsourcing? Is a corporation’s primary responsibility to its stockholders, by reducing labor costs? Or is its primary responsibility to...
1. List some of the various communities to which you belong (organizations, work, hobbies, fields of expertise, family). Give examples of some of the behavioral and language characteristics particular to each group? For instance, do you speak to your job supervisor in the same way you speak to your child or your best friend? Why might you interact with members of different communities differently? 2.What are some of your past experiences with writing? Please explain what you like and...
For this paper, the following five elements must be addressed: Describe a current IT-related ethical issue: Since this is a paper exercise, not a real-time situation, you may want to construct a brief scenario where this issue comes into play, and thus causes an ethical dilemma. The dilemma may affect you, your family, your job, or your company; or it may be a matter of public policy or law that affects the general populace. See the list below for a...
My
topic is diabetes
597690/viewContent/7888874/View The Science of Popular Diets The Impact of Nutrition Practices on Human Wellness Understanding the Dietary Needs of Special Populations Consider that up until this point in Module 2, we have been focused on the nutritional needs and diet plans for healthy, adult individuals. The AMDRS used to calculate caloric needs have been determined to fit a general population of these individuals. In addition, there has been little need to consider deficiencies or toxicities of...