RE: [Avalon4:PROPOSAL] Context Consensus

"Noel J. Bergman" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.apps.devel
Message-ID <NBBBJGEAGJAKLIDBKJOPKEALPBAA.noel__39017.0072475032$1039634422@devtech.com>
> I prefer for the component to [do] the cast and explode if it fails.
> The responsibility is on the container to catch and log the exception.

The contract throws ContextException.  There is nothing in the API contract
that says that a container must intelligently handle ClassCastException, or
what it might mean semantically.

	--- 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.