RussWhitehead/HPCC-Platform — comment on commit 0d4ac3d91f1c9c850c62da83341bdb90067bafa3
File: system/jlib/jlog.cpp line 2653
By ghalliday:

It is generally better to not throw exceptions inside a constructor - beause the object being created never gets deleted. A common solution is to have the constructor perform the simple initialisation, and an init() function do anything more complex that might throw an exception.