RvonMassow / xDoc

Xtext documentation Language
33 stars 15 forks source link

Usage of e.printStacktrace is discouraged #26

Closed szarnekow closed 13 years ago

szarnekow commented 13 years ago

I'd rather use a log4j logger which will put its messages into the Eclipse console automagically instead of printing directly to System.err. Even worse, catching exceptions without handling them properly will lead to overly long debugging sessions as the error is silently ignored. Please rethrow exceptions as runtime exceptions if you cannot handle them properly.

RvonMassow commented 13 years ago

replaced printstacktrace by logger, as suggested. checked for caught but unhandled exceptions, i hope i didn't miss any.