Lesson - 9 : Exception Handling - keywords summary And Customized Exceptions

preview_player
Показать описание
Exception handling keywords summary And Customized exceptions :
1) try: To maintain risky code.

2) catch: To maintain handling code.

3) finally: To maintain cleanup code.

4) throw: To handover our created exception object to the JVM manually.

5) throws: To delegate responsibility of exception handling to the caller method.
Рекомендации по теме
visit shbcf.ru