"Exception Error Trapping" Please respond to the following:

User Generated

crgvgfba

Computer Science

Question Description

(For example, if you ran out of disk space writing out banking transactions, it would make sense to stop the program and display an error message.) Develop two (2) best practices using various situations to stop a program from continuing

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Explanation & Answer

undefined

To print the type of error message like 

"Insufficient funds" in ATM transaction at the time of withdrawal (for the client)

To record the place where the program ended in exception to debug and improve (for the developer)

undefined

znquninag (2757)
UIUC

Anonymous
Just what I needed…Fantastic!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4