On Tue, 23 Apr 2002 20:21, Carsten Ziegeler wrote:
> In my case the parent CM catches the NPE of the component and
> rethrows it as a ComponentException. So if I change the above
> line to catch only ComponentExceptions it's not better.
>
> What about changing it to:
>
> if( m_parentManager != null && m_parentManager.hasComponent( role ) )
> {
>     return parentManager.lookup( role );
> }

+1 from me - but then again I don't use the ECM :)

-- 
Cheers,

Peter Donald


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to