"Simon Wright" wrote in message news:x7vu1o48tnf.fsf@pushface.org... > Gisle S�lensminde writes: > > > The problem is that exception handling at one layer possibly must be > > handled in parts of the program where it does not make sense, and > > that make programmers to do such code "to get the job done". My > > point is that the strictness of java exceptions is > > counter-productive. > > I suppose it's not possible to insist that people never propagate > exceptions that don't make sense in their caller's world view? It may not be possible but it would be a good idea if it could be done. After all, if an exception (or, more generally, any result of execution) does not make sense to the caller, what's the point of sending it back?