context.suspendWindowListener();
final Collection colFailedImagesSrc = checkImages(conversation, currentResponse);
context.restoreWindowListener();
if (!colFailedImagesSrc.isEmpty()) {
final StepFailedException sfe = new StepFailedException(colFailedImagesSrc.size() + " missing image(s) in page "
+ currentResponse.getWebResponse().getRequestUrl());
final StringBuffer sb = new StringBuffer();
for (final Iterator iter = colFailedImagesSrc.iterator(); iter.hasNext();) {
sb.append(iter.next()).append("\r\n ");
}
sfe.addDetail("missing images", sb.toString());
throw sfe;
}
}