Re: Try/Catch
- Posted by jaygade Jan 08, 2015
- 5629 views
Summary:
Inputs to a program must be checked for validity or corruption. Bad input should result in an error condition which should be handled as early in the program as possible.
Logic errors in a program should result in a crash and should never escape developer testing; however if they do then a crash report should be sent back to the developer. In such case, the program should produce no usable incorrect output to the user.