added try/catch block in constructor of LogFileWriterV2.