Discuss exception handling.

What will be an ideal response?


Object-oriented programs employ a group of techniques for handling errors called exception handling. The generic name used for errors in object-oriented languages is exceptions because errors are not usual occurrences; they are the "exceptions" to the rule.

In object-oriented terminology, you try some code that might throw an exception. If an exception is thrown, it is passed to a block of code that can catch the exception, which means to receive it in a way similar to how a parameter is received by a method.

Computer Science & Information Technology

You might also like to view...

Which two ports should packet-filtering rules address when establishing rules for Web access?

A. 143, 80 B. 25, 110 C. 80, 443 D. 423, 88

Computer Science & Information Technology

Data collected online is sent to the site server using a scripted file called a form handler.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Case Based Critical Thinking Questions ? Case 2-2 Antoinette is part of a college department creating a number of student files with Microsoft Excel. She  is working on a student retention project and wants to produce a worksheet that can alert faculty of student progress and current grade status. ? ? When Antoinette shares her worksheet with other colleagues, she wants to ensure that everyone knows why certain cells are highlighted. To accomplish this, she will create a _____.

A. journal B. documentation sheet C. legend D. formula sheet

Computer Science & Information Technology

_______ are highly scalable and have a very high fault tolerance, massive storage capabilities, and fast data access.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology