Java Custom Exceptions Tutorial - It's Way Easier Than You Think

preview_player
Показать описание
Full tutorial on creating custom exceptions in Java!

Custom exceptions can be intimidating if you're relatively new to Java. But creating your own Java exceptions is way easier than you may think.

If you're confused about how to go about creating your own exceptions in Java, or to find out best practices for doing so, you're in the right place!

Learn or improve your Java by watching it being coded live!

Hi, I'm John! I'm a Lead Java Software Engineer and I've been in the programming industry for more than a decade. I love sharing what I've learned over the years in a way that's understandable for all levels of Java learners.

Let me know what else you'd like to see!

Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.

📕 THE best book to learn Java, Effective Java by Joshua Bloch

📕 One of my favorite programming books, Clean Code by Robert Martin

🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial

🖥️Standing desk brand I use for recording (get a code for $30 off through this link!)

📹Phone I use for recording:

🎙️Microphone I use (classy, I know):

Donate with PayPal (Thank you so much!)

☕Complete Java course:

Рекомендации по теме
Комментарии
Автор

If you have any questions, be sure to ask here!

CodingWithJohn
Автор

I'm reading "Java All in One for Dummies, " and I had trouble wrapping my head around the "throwing exceptions" chapter. Thank you for clearing up my confusion. Your lessons are intuitive and straight to the point. Your delivery is amazing.

turuus
Автор

Hi John, I recently discovered your channel, and I loved the way you expose the content. Learning to program when you are close to 50 years of age, is a much more affordable challenge with the help of channels like yours, thank you very much for your time and dedication. Greetings from Chile.

edgardom.
Автор

After going through several videos, this is the first truly informational one. No weird jumps, well-spoken English and not a lot of noise around the main topic.

I know this video is old by now - but keep it up! :P

blubbfisch
Автор

i love your simple but clear explanations, , thanks John

hummerzone
Автор

thanks john. I've been watching more and more of your videos as a java beginner, and as I watch them, each one makes me more certain to get your java bootcamp. these videos are truly great and if im going to learn even more, it will be immensely helpful to know the fundamentals are coming from you.

Adrastus_
Автор

Hello John, thanks a lot for this video. I watched it some months ago and I missed some points you made about passing Throwable into the custom exception constructor but watching it again now made me realized how detailed this video is. Thanks a lot.

mustapharaimilawal
Автор

Your Video always pop up whenever I needed the most! Thank you

vn
Автор

ive been watching many of your video for the past 3 hours, youre an actual legend

fcbarcatv-ouww
Автор

Thank you for making all wonderful videos on Java!! All of them very clarifying!

hunelysium
Автор

Simple, informative, and clear. Brilliant. Thank you!

ohmohm
Автор

Brilliant teaching, every word you spoke in this video had intense meaning to it, Thank you

KishoreN-ps
Автор

Wow, cleared some of my confusions, good stuff! Thank you so much John!

enfieldli
Автор

We should neither extend Throwable and nor use it in Catch block. Reason why not to use Throwable in catch block is that it will catch Error also which is not desired .

ravikumarray
Автор

love the way you've explained this concept... I didn't learn this properly in C++ so ... I'm really happy that I could understand it so quickly... thank you so for that 😊

samreensaleemudeen
Автор

if you hadn't explained the extends RuntimeException part, wouldn't have saved me in a pinch! Thank you so much!

lefruitcake
Автор

I'm obsessed with your content, amazing job!!

sabeib
Автор

Struggled with this topic for so You're an amazing teacher 🙌🏻🙌🏻🙇‍♂️.... Thank you so much🙏🏻

Abhijeet_Tripathi_
Автор

Watched all videos...ur teaching style is bring videos on Spring Boot

ayushkumar-clco
Автор

Thank you for another easy to understand video!

AnnaAdamczyk