Mastering Java Exceptions with Best Practices
This highly practical course will teach you the right tools & best practices for building robust software programs.
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:
For best practices & idioms, 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. Be assured that we have also put most of these principles in practice in some of the large projects that we have worked on. All the topics will be explained through code. Most of the code is based on a single concept of sharing data with a partner in a programmatic way. The code will be built gradually with each discussed topic. There is also a bonus chapter where we demonstrate how to debug Java programs in Eclipse and also how to use JUnit unit testing framework. The course content is being actively used at top companies like Intel, Cognizant, and TCS for employee up-skilling.
Chapter Introduction ~ Motivation & Agenda
A Quick Note on the Mini Project
Demo: Exceptions & Exception Handling
Demo: Multiple Exceptions & Polymorphically Referencing Exceptions!!
Checked & Unchecked Exceptions + Demo
Demo: Generating OutOfMemoryError & Fixing It
Exceptions & Method Overriding
finally Block + Demo
FREE PREVIEWtry-with-resources Statement + Demo
Demo: Suppressed Exceptions
Demo - Best Practices: Creating New Exceptions*
Demo - Best Practices for Capturing Failure Information*
Demo - Best Practice: Exception Translation & Chaining*
Coding Exercise 11: Extending Compute GPA Exercise with Exceptions
Bit of Brainstorming! (+)
Exceptions: More Advice ...*
Assertions
Demo: Assertions
Conclusion
Chapter Quiz
Exceptions ~ Important Q&A Discussions!
Note on Follow Up Lessons on Debugging & JUnit Testing
Using Eclipse Debugger
JUnit & Debugging
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 with over half-a-dozen years of teaching experience with over 100k students globally. He has also been 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.