rethrowing of exception is good or bad

hi friends , Rethrowing of exception from one method of class A to the another method of Class B is good thing or bad.... can anyone tell me... thanks in advance
[168 byte] By [83Krisha] at [2007-11-27 9:05:34]
# 1
It depends.
cotton.ma at 2007-7-12 21:39:54 > top of Java-index,Java Essentials,Java Programming...
# 2
If you can't handle it (completely) or recover from it, you should rethrow it and give higher levels the chance to handle it.
-Kayaman-a at 2007-7-12 21:39:54 > top of Java-index,Java Essentials,Java Programming...
# 3
> If you can't handle it (completely) or recover from> it, you should rethrow it and give higher levels the> chance to handle it.So it is better to handle it as early as possible, right?
achyuthba at 2007-7-12 21:39:54 > top of Java-index,Java Essentials,Java Programming...
# 4
No, it's better to handle it in the place where it makes sense to handle it. If you can't handle the errors, you pass it upwards or catch it, log a message and rethrow it.There's no One True Rule about it. It's up to the smart developer to know what to do.
-Kayaman-a at 2007-7-12 21:39:54 > top of Java-index,Java Essentials,Java Programming...
# 5
Days ago I stumbled on the following article that I found interesting (although a bit old). You might want to have a look at it. http://today.java.net/pub/a/today/2003/12/04/exceptions.html
java_knighta at 2007-7-12 21:39:54 > top of Java-index,Java Essentials,Java Programming...