}
void displayErrorMarker(DeployMessage failure) {
Component cmp = list.getComponentById(failure.getId());
if (cmp != null) {
MarkerUtils markerUtils = getMarkerUtils();
if (failure.getLineNumber() > 0) { // Has line number
if (failure.getColumnNumber() > 1) { // Has column number
markerUtils.applyCompileErrorMarker(cmp.getFileResource(), failure.getLineNumber(),
failure.getColumnNumber(), failure.getColumnNumber() + 1, failure.getProblem());
} else {
markerUtils.applyCompileErrorMarker(cmp.getFileResource(), failure.getLineNumber(), 1, 1,
failure.getProblem());
}
} else {
markerUtils.applyCompileErrorMarker(cmp.getFileResource(), failure.getProblem());
}
}
}