avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: DynamicProxy replacement.
Date Sat, 20 Oct 2001 09:26:52 GMT
Peter,

>> You can ask the InvokationTargetException what exception it contains. 
>> You just have to code in such a way that you know a proxy exists.
>
>
> (forgive my naivety here...) but why do we have these proxies in the 
> first place? If I the block author is using a service that throws a 
> checked exception, why should I have to trap the checked exception 
> *AND* an InvocationTargetException and check to see if its contained 
> exception is the one i'm trapping? That seems to be a burden to me.
> -pete

I think the promise turned out not to be true.  With BCEL replacement it 
could be perfect.

- Paul



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


Mime
View raw message