commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [proxy] Commons-Lang Dependency...
Date Mon, 12 Sep 2005 07:17:07 GMT
Hi James,

James Carman wrote on Friday, September 09, 2005 1:33 PM:

> What good would a runtime exception do me at that point?  The
> method interceptor which contains that code is executing the
> method invocation in another thread using an Executor (JDK5).
>  So, the runtime exception wouldn't get back to the caller.
> At best it would probably just get printed to standard error
> or something.  That's why I chose to actually log the error in the
> first place. 

this is the typical use case for monitors (see http://wiki.apache.org/avalon/AvalonNoLogging
for background). Just invent a monitor for the proxy package, that is called for different
events. Then it's up to a user, to register a monitor that will act on such an event.

- Jörg

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


Mime
View raw message