This post originated from an RSS feed registered with Java Buzz
by justin cater.
Original Post: How and when to use Exceptions
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
In this lesson we are going to continue discussing how and when to use Exceptions. Exceptions in Java are an important instrument to signal abnormal (or exceptional) conditions in the program flow which may prevent it to make a further progress.
We will discuss Checked and unchecked exceptions, using try-with-resources, exceptions in conjunction with lambdas, standard Java exceptions, how to define our own exceptions, documenting exceptions and logging them!