public LoadTestLogErrorEntry( String type, String error, TestStepResult result, ImageIcon icon, int threadIndex) { this.icon = icon; this.type = type; this.error = error; this.result = result; this.threadIndex = threadIndex; this.targetStepName = result == null ? null : result.getTestStep().getName(); timestamp = result == null ? System.currentTimeMillis() : result.getTimeStamp(); }