Java Exception Handling - 5 Best Practices That You Should Know!

Sdílet
Vložit
  • čas přidán 6. 08. 2024
  • When building applications in Java, handling exceptions correctly requires some level of knowledge around the way we should use the tools provided by Java.
    This video addresses the most common mistakes developers make when handling exceptions, but also some tips and tricks on how to avoid them. I really hope this video will help you to create better, more robust applications.
    Let me know in the comments below if you found that video useful!
    Chapters:
    00:25 - Always Close Resources
    04:39 - Catch Specific Exceptions
    05:33 - Don't catch throwable
    06:35 - Don't swallow exceptions
    07:22 - Throw early, catch late
  • Věda a technologie

Komentáře • 31