Building reliable software is not just about understanding how Java exceptions work, but to also understand how to use them in the right way. So, it is more than learning Java exceptions as a language feature and that is what this course aims to teach. This intensely practical specialized course has been designed with following objectives:
To give you a complete understanding of the Java exceptions mechanism
To teach the best practices & idioms for effectively writing Java exceptions
Exceptions are almost always covered as a short chapter/topic (typically 30 - 45 minutes) in a larger Java course and they only cover the basics of Java exceptions. This may suffice most of the times. But to build truly robust software that can withstand test of times and also help you to quickly identify and debug any bugs, you would need to have a more solid understanding of exceptions and how to use them effectively. Through the above objectives, this course aims to give you that kind of a solid foundation in just about 3 hours of time. As for the best practices & idioms go, we discuss in code all exception-related principles outlined in the popular Effective Java book. This is one of the highlights of the course and will make you truly complete!
What you will learn
Mastering Java Exceptions
Get complete understanding of exception-related language features like try/catch/finally & throw/throws, checked & unchecked exceptions, try-with-resources, assertions, etc.
Best Practices & Idioms
Learn best practices & design rules specific to implementing Java exceptions that any good software engineer must know.
Based on a Real-World Use-Case
A single use-case of accessing a Web Service is used as a backdrop in explaining most of the concepts in the course.
Quick Personalized Responses
Get in-depth personalized responses within 24 hours for all your questions
Get a certificate upon course completion.
Chapter Introduction ~ Motivation & Agenda - 2:55
A Quick Note on the Mini Project - 2:40
Demo: Exceptions & Exception Handling - 15:04
Demo: Multiple Exceptions & Polymorphically Referencing Exceptions!! - 9:40
Checked & Unchecked Exceptions + Demo - 11:06
Demo: Generating OutOfMemoryError & Fixing It - 4:41
Exceptions & Method Overriding
finally Block + Demo - 11:53
try-with-resources Statement + Demo - 15:22
Demo: Suppressed Exceptions - 7:23
Demo - Best Practices: Creating New Exceptions - 12:49
Demo - Best Practices for Capturing Failure Information - 9:20
Demo - Best Practice: Exception Translation & Chaining - 7:13
Bit of Brainstorming! (S)
More Advice ... - 6:22
Assertions - 10:07
Demo: Assertions - 9:19
Conclusion - A Quick Summary - 5:41
Dheeru Mundluru is the instructor for this program. A passionate software engineer & educator, Dheeru has around 15 years of experience developing innovative software for start-ups in silicon valley and elsewhere. He holds a Ph.D. in Computer Science from University of Louisiana at Lafayette (USA). He is an experienced online instructor and is also rated as one of the top instructors on Udemy. His engineering expertise includes developing complex Web data integration & mining software with Java as the main programming tool. Coming from start-up world, he also has extensive end-to-end experience in developing Web applications using technologies such as Spring, Hibernate, MySQL, and Solr.
Writing well-crafted code that follows the best design practices is of utmost importance to him. He brings the same level of passion and completeness to his teaching.
Frequently Asked Questions
Are there any prerequisites?
A basic working knowledge of Java.
When does the course start and finish?
You can start & finish it anytime.
Are course videos & slides downloadable?
No. However, all programs demonstrated in the course are downloadable.
Is the course fee refundable?
No. To ensure the course is right fit for you, please review the preview videos, course description and curriculum carefully.
What they are saying about the course
"The instructor explained all the concepts with examples, which if you follow religiously would with one revision in the end would be etched in your mind forever. Quick response. Enjoyed the class."
"Excellent course. Handling exceptions is one of the main things that each developer must know."
"This course is very helpful. It starts from basics and covers all the advanced topics related to exception handling."