Java Exceptions - Learn Exceptions in Java #43

preview_player
Показать описание

Exceptions in java just mean something in your code got messed up, then it shows a message where you find the problem. ✅Hopefully, what I've taught you will help you see exceptions in java in a different light.

Java exceptions look scary, but they're actually a friendly message that gives you loads of information for how to fix your code. The name of the exception will give you a hint as to what went wrong, it provides an exact trace of which code was hit and the exception even gives you the exact line number where it occurred.

This java exceptions code can be tricky at first... But SURELY you'll get it :) If you followed along, congrats! You learned-by-doing!

I hope you enjoyed this tutorial about java exceptions! I like to have a nice mix of tutorials and actual projects for you all :)

Was this video about exceptions able to help you solve your code? -

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

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

I teach computer science at a high school and refer my students to your videos all the time. You are truly "Exceptional". :)

stevenfinston
Автор

Missed opportunity to call your program "Exceptional"

Jake
Автор

Absolute hero. Since discovering this channel a couple weeks ago, I no longer waste time listening to my Intermediate Java prof's online "lectures, " and just note which Alex Lee videos I need to look up.

He should make a Patreon for people who can't quite afford the full course, but want to chip in for all the help he shares on Youtube!

GG-dxid
Автор

Alex, you are such a wonderful person. You are so honest. You did not learn these exceptions at college and trying to teach us. Great lesson.Thanks

tschopam
Автор

Honestly, you are the best Java instructor ever. Thanks

GiedrysRokas
Автор

Thank you. This is on my final exam coming up, yet I swear we didn't go over this in class at all.

dilby
Автор

i really like how he always mention how teachers makes things hard for us sometimes, well you definitely made some things easy for me so thank you.

unknown-xrlq
Автор

Usually if I see the dreaded red text, I get frustrated. Your video reminded me to just read what the program is saying, and I can figure it out. Love your videos!!! Thank you :)

jenniferm
Автор

Thanks Alex, I am in my third semester for my programming degree and I dont have the best professors. Your videos really help clear up alot of the things we miss in the classroom.

justinfeagans
Автор

Once again, well done. Incredibly grateful that you take the time to actually explain things at more than just a surface level. Though many things don't require more than simply the knowledge that "This does this", it definitely helps some of us to grasp the concept when we can understand the theory.

shadowfront
Автор

"I'll catch in the next video"

First you gotta *try* it, then maybe *finally* you can do it, haha

edupazz
Автор

"You might have heard of the word exception and wanting to stop programming right there because teachers do a horrible job at explaining..."

Oh boy, you got me right there. I cracked up laughing so bad at this because it IS SO TRUE!!!!

TreeloCosplay
Автор

Alex whenever I watched your videos to learn stuff, at the very start of the videos I always got a boast of motivation from your. Which keeps me away from all negativity and helps me learn better. Thank you:)

ameerhamza
Автор

OMG TEACHERS ARE SO BAD AT TEACHING THIS IM SO HAPPY I FOUND THIS!! I'M CRYING IN JOY RIGHT NOW MAN!! THIS IS GREAT

shammahcharles
Автор

I love how your videos are so short yet full of good information. Thank you so

RSuccess
Автор

Dear Friend I am an IT student and I am really facing the same problems at my university about getting the programming ideas and understanding them.I really appreciate your help, it was really useful to me and helped me a lot, so thank you and keep it up man!!!!

josephwehbe
Автор

You are better instructor than any professor I've ever had, thanks for the videos.

Kjackdev
Автор

I have an interview on wednesday and I can say that this viideo helped alot. Thank you Alex and continue making this kind of videos.

eljean
Автор

Thank you. You are the one who taught me how to read and find exception .. thanks alot

aayansh
Автор

All objects within the Java exception class hierarchy extend from the Throwable superclass. Only instances of Throwable (or an inherited subclass) are indirectly thrown by the Java Virtual Machine (JVM), or can be directly thrown via a throw statement.

リンゴ酢-bg