avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: [proposal] avalon 5 ComponentManager interface
Date Mon, 17 Jun 2002 09:42:09 GMT
On Monday 17 June 2002 11:36, Peter Donald wrote:
> At 11:37 AM 6/17/2002 +0200, you wrote:
> >having the exception carrie the failed role would be elegant IMHO:
> >
> >  try {
> >      componentA = (A) cm.lookup(A.ROLE);
> >      componentB = (B) cm.lookup(B.ROLE);
> >  } catch (ComponentException e) {
> >      throw new CascadingException("Could not find " + e.getRole(), e);
> >  }
>
> Thats a kool idea - wanna send a patch ? :)

Sure ..if noone objects :-)
--
Torsten


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message