An Exception is when your code try to do something and this something goes wrong. That "something" sends you an Exception, so you can see what did wrong and treat your code correctly.
You can see in a more tecnical and detailed way here: docs.oracle.com/javase/tutorial/es...
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.