Discussion-post-question-Try-Catch-Blocks
“Try / Catch Blocks” Please respond to the following:
- Imagine you are working on enhancement for a social network Website. Determine at least two (2) types of errors that may occur and could be caught by try / catch blocks. Include one (1) example of such errors to support your response.
- Based on the example that you have provided from Part I of this discussion, explain the importance of catching the error, as opposed to letting the user experience the error. As the programmer, decide the next step that you would take in order to best handle this situation after catching the error. Provide a rationale to support your response.