[oXygen-user] Non-checked exception in a plugin: silently ignored

Florent Georges
Wed Jan 26 05:33:07 CST 2011


Radu Coravu wrote:

> Thanks for the suggestion, I added it as an improvement
> request.

  Good!

> By the way, if you are also using Apache Log4j and use the
> "logger.fatal" to log problems a special Errors dialog will
> pop-up to present them.
> So you can create your own AbstractAction wrapper which
> catches all  Throwables and uses "logger.fatal" to report them.

  Yes, that's more or less what I do.  Since I am writing a workspace access plugin, I use the standalone plugin workspace object instead, to show dialog boxes, but that's the same idea.

  Thanks for the help,

-- 
Florent Georges
http://fgeorges.org/




      



More information about the oXygen-user mailing list