Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 10/01/2012 08:03 PM, Thorsten Behrens wrote:
I also did not apply your printStackTrace() logging calls, I think
at least some of them report on exceptions that were seemingly
previously ignored on purpose?

Stephan, or anyone else more up-to-date with contemporary java
idiom, any opinions here?

I have not much of an opinion there. The wizards code being what it is, it is probably tedious and pointless to try and determine whether individual exception-swallowing catch-blocks were really meant that way or were just incompetent coding. So I'd personally be fine both with keeping the blocks empty and with adding printStackTrace calls wholesale.

(Just one nit, System.err is the default target for printStackTrace, so it can be omitted from calls.)

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.