Submitted by heartin on Fri, 02/28/2014 - 23:03
Let us do a simple hands on excercise followed by some questions to understand exceptions better. For theory and concetps of exceptions in Java. you can refer to the note introduction-to-exceptions-in-java.
Create a class MyClass and create three methods myMethod1(), Method2() and Method3().
Invoke Method2() from Method1() and Method3() from Method2(). [node:read-more:link]
Submitted by heartin on Wed, 03/06/2013 - 08:39
This article lays down some of the best practices which you can use during your design or code reviews, and assumes that you are familiar with the basics of exceptions in Java. [node:read-more:link]
Submitted by heartin on Mon, 09/24/2012 - 02:04
Custom Exceptions are user defined Exception classes that extend either Exception class or RuntimeException class. [node:read-more:link]
Submitted by heartin on Mon, 09/24/2012 - 00:56
An exception is a divergence from an application’s normal behavior. Read about exception hierarchy in Java, checked and unchecked exceptions, and how to handle exceptions in Java. [node:read-more:link]