Berin Loritsch wrote:

I think I have a better idea.  How about adding a CommandFailureHandler
to the CommandManager?

Currently all exceptions are ignored by the CommandManager, but this
way we can have any application customize what it chooses to do in
the event of a failure. The return value will be a boolean value
for whether to close the CommandManager or not.

I like this. If the displaying of the error was done in the default handler, then
I could simply configure my own handler and it would be easy to display as
much or as little as I want. That should make everyone happy.


What parameters would be available in that context?

boolean commandFailed( Throwable t, String role );
Something like that?  I have not looked at the code that closely.

Cheers,
Leif



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



Reply via email to