RE: Exceptions (was: RE: [Avalon4:PROPOSAL] Context Consensus)

"Noel J. Bergman" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel
Message-ID <[email protected]>
> I'm not disagreeing.

All I'm saying is that there probably ought to be a best practice to avoid
the problem so long as this flawed interface survives.

> The same logic applies to a new or revised context interface.

The AV5 approach shouldn't really have the problem to the same extent
because the Context object passed shouldn't require casting.  But this is
actually a reason for why I had proposed Context.get(Key, Class), which
would tell the container exactly what kind of interface I was expecting to
receive.

	--- Noel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.