Why should exceptions not be used as an alternate form of program control?

What will be an ideal response?


Exception handling is designed to handle infrequently occurring situations that often result in program termination. Exceptions do not follow conventional forms of program control. Handling a larger number of exception cases can be cumbersome, and programs with a large number of exception cases can be difficult to read and maintain.

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a value that can be changed each time you run the query

Fill in the blank(s) with correct word

Computer Science & Information Technology

Documents downloaded from a website typically open in Protected View

Indicate whether the statement is true or false

Computer Science & Information Technology

A ________ is a group of numbers, text, dates, or time periods that come in succession

A) chain B) sequence C) series D) succession

Computer Science & Information Technology

Which of the following is an external device that provides connections to peripheral devices through ports built into the device?

A. port replicator B. universal serial bus port C. wireless port adapter D. docking station

Computer Science & Information Technology