.message(StringUtils.trimToNull(message))
.stackTrace(StringUtils.trimToNull(stack));
if (durationStr != null) {
test.durationInMs(Long.parseLong(durationStr));
}
test.save();
} catch (Exception e) {
throw new IllegalStateException("Error processing line " + lineNumber + " of file " + testplanFile.getAbsolutePath(), e);
}
}