Re: Exceptions



Simon Wright <simon.j.wright@xxxxxxx> writes:

I think this would be a very bad idea. I don't want to be forced to
deal with the exception 'here' when it would be better handled by my
caller.

But this would only apply to some exceptions. If you don't want to be
"forced", use an unchecked exception.

I think there are some mistakes in the Java design for exceptions, but I
don't think the whole idea of exception contracts is bad.

- Bob
.