[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request
Etienne GAGNON wrote:
> The second point is, if all methods have a "throws SemanticException"
> signature, in what is it different from the implicit "throws
Ah, but we don't have multiple inheritance. Which means that
RuntimeException is likely to be read as not a predication but a taxon:
while it will "work right", to the reader of the generated code it looks
like an assertion that the java code itself is at fault, rather than
that the user gave us some bad input.
The moral of which is that the property of not requiring explicit throws
declaration should have been handled by an interface Propagates, not a
class; but we don't control the language design.
stephen p spackman