public ProblemReport(string workerId, WorkerStage workerStage, Exception ex) { WorkerId = workerId; WorkerStage = workerStage; if (ex != null) { ExceptionString = ex.ToDebugString(); } }