Their understanding about the try catch

It is to capture the place might throw an exception, which would allow the program to proceed without crashing halt. For customers, he can not see the background of error just give a user-friendly prompts, does not show an error message to the customer.

Personal understanding is quite plain, if considered where understood incorrectly, please file ~

Guess you like

Origin www.cnblogs.com/codecola/p/11077279.html