Wellcome to the Ranch swamyarun
Please read about our
name policy and adjust your displayed name accordingly.
Experience will tell you which exceptions are runtime or not.
In the meantime consider if it is feasible to force a try clause, each time the exception could be arised in the program. For instance, a NullPointerException being a checked one would force to put all the method invocations within a try, or declare it in the method. Not feasible, thus, it is a RuntimeException.
Also remember that certain actions will always imply such risk, that the exceptions they could arise are checked by the compiler for you not forgetting about them. Forgetting about managing them, I mean. That is the case of the actions that have to access the file system and the IOException.
Now I see that my answer is not very related to your question.
I will keep it anyway for the benefit of others.
[ August 12, 2002: Message edited by: Jose Botella ]