Java Exception Handling

About

In this module you will learn about all the exception handling options available in Java.

Exceptions are runtime errors that can occur during program execution. Such exceptions can crash applications, and error messages that the Java Runtime Engine (JRE) throws on the screen can leave its non-technical end users in a lurch.

It’s necessary for us to anticipate and handle such exceptions to prevent application crashes and provide clear, user-friendly error messages.

Content

Lesson Est. Delivery Time Skills
Setup 10 min Setting up the development environment.
Handling Exceptions 15 min Java exception handling using try-catch blocks.
Generating Exceptions 15 min Java exception generation using throw keyword.
Delegating Exception Handling 15 min Writing Java methods to enforce its caller to an handle exception that it can’t handle itself.
Total content 55 min  

References

📖 Reference Materials