Java Beginner to Intermediate

Java Exceptions & Error Handling

Learn how Java exceptions work and how to design reliable error handling in Spring Boot applications.

Theory

  1. What Is an Exception in Java
  2. Checked vs Unchecked Exceptions
  3. try, catch, finally and try-with-resources
  4. "throw" and "throws"
  5. Custom Exceptions
  6. Exception Handling in Spring Boot
  7. "@ExceptionHandler"
  8. "@ControllerAdvice" and "@RestControllerAdvice"
  9. Production-Style Error Handling