On Jul 3, 2008, at 9:46 AM, Emmanuel Lecharny wrote:
Now, the question is why do we allow a user to define it's own ExceptionMonitor to handle unhandled exceptions. As we are defining a framework, it does not make a lot of sense to disregard an exception and let the user define what to do with it, as the user will have _no clue_ about where those kind of exception might be produced (our users are not all supposed to go through MINA code).So do we really need this class ? IMHO, this is a bad idea which has not been removed from the very first version (it comes far away : the class has been injected back in 2005, and was never derived since, if we except the default implementation.
This is a feature I've used in the past.Yes, its a very general solution, but when you want to hook into what happens when a random exception is thrown, its a lifesaver.
I'd be -1 on removing it. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
