DEV Community 👩‍💻👨‍💻

Discussion on: Why You Should Start Using JUnit 5

Collapse
 
wildkites profile image
WildKites

what is an Excpeiton?

Collapse
 
stealthmusic profile image
Jan Wedel Author

I don't know.

Collapse
 
pdrmdrs profile image
Pedro Paulo Paiva de Medeiros

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...