News

Learn everything you need to throw, try, catch, and clean up after Java exceptions in your programs.
Not sure what a try catch is? We explain how to use a try catch block in Java and how to write methods that throw exceptions.
Don't let the occurrence of a RuntimeException in Java bring your code to a standstill. Here are 10 examples of how to avoid runtime exceptions in Java.
If you really want to take full control of the exceptions you pass to your clients, you can write your own Exception class. Here's how to do that, complete with support for additional properties.
You can add additional information to any Exception object to help you debug your application when something goes horribly wrong.