Up next

[11/13] Exception Handling - Java Foundations Certification

2 Views· 28 March 2024
Alagai Augusten
Alagai Augusten
6 Subscribers
6

In Java exceptions are objects. The base for all exceptions is the Throwable class – it contains information about the cause of the exception, its description, and the stack trace. To raise an exception, you use the throw keyword. When an exception is thrown the program execution stops, and the execution travels over the stack until a matching catch block is reached to handle it.
Learn what are the main methods for exception handling and how to simplify your code construction.

➡️ Find the full blog post here: https://softuni.org/code-lesso....ns/java-foundations-

⭐ Table of Contents ⭐

00:00 Intro
01:10 Table of Content
03:12 The Judge System
04:27 What are Exceptions?
17:05 Throwable Class
18:23 Types of Exceptions in Java
27:25 Exception Hierarchy in Java
29:30 Handling Exceptions
57:02 Try-Finally
01:03:05 Throwing Exceptions
01:19:55 The "throws" in Method Declaration
01:35:08 Custom Exceptions
02:02:39 Outro

If you’ve missed other tutorials in this series, catch up here: https://www.youtube.com/watch?v=KDBSoQlbHC0&list=PLIF8tJJOPz9JF3TL7oYfW7_XDw-MZoPKe

This course teaches skills, not just theory. Each course video comes with carefully prepared hands-on practical exercises, where you write code to solve practical problems, run and test your solutions, maybe make mistakes, fix them, and test your code over and over until it finally works properly. The entire course provides more than 70 exercises, with automated grading in the SoftUni judge system. You can find the link in the blog post.

Get more great content by subscribing: https://bit.ly/3DyAJ7m

💻 Want to learn to code professionally? Enroll in our Java or JavaScript Developer programs here: https://softuni.org/learn

➡️ Valuable Blog Posts: https://softuni.org/blog
➡️ Help by Mentors: https://www.reddit.com/r/softuni
➡️ Free Learning Resources: https://softuni.org/learn/learning-resources

📱 Let's connect on
Facebook: https://www.facebook.com/softuni.global
Instagram: https://www.instagram.com/softuni.global
Twitter: https://twitter.com/softuni_org
LinkedIn: https://www.linkedin.com/company/softuni-global

And remember, you learn to code by writing code. Do the assignments, submit them in the SoftUni Judge system, and get instant results. Do not hesitate to ask for assistance from me or any of the mentors and members of the SoftUni Global Community. Our mission is to create experts by helping you learn Programming and start a job in IT.

Till next time!

#java #programming #codelessons #free #lessons #codewithnakov #softuniglobal
➭ Recommended Books:

https://softuni.org/category/resources/

IDE used in this lesson:
- IntelliJ IDEA

👀You can also follow me here:
FB: https://www.facebook.com/softuni.global
IG: https://www.instagram.com/softuni.global
Twitter: https://twitter.com/softuni_org
Linkedin: https://www.linkedin.com/company/softuni-global

Learn more about SoftUni Learn to Code Community - https://softuni.org

Show more

 0 Comments sort   Sort By


Up next