From the development of commercial POV applications, all exceptions must be caught, and NONE must be allowed to crash the program. Because currently, computer users can distinguish between an error message and an application crash dialog.
A product that fails gives a bad impression to the customer. When you have no way to recover, you can display an error message, politely declaring that the application will exit now, and the user must restart the application. Then, gracefully exit when the user clicks ok in the modal dialog box.
Even sometimes you can provide useful information when there is no way to recover. For example, in case of insufficient memory, you can advise the user to close other applications (if any) before starting this application again.
Although the end result is the same, a friendly error message gives a much better impression than the crash dialog generated by the OS.
source share