}
}
protected String getErrorIcon(ErrorReport errorReport) {
if (errorReport.isBusinessAppError()) {
BusinessError appError = (BusinessError) ErrorManager.lookup().getApplicationErrorCause(errorReport.getException());
switch (appError.getLevel()) {
case BusinessError.ERROR: return errorsImg;
case BusinessError.WARN: return warningsImg;
case BusinessError.INFO: return messagesImg;
}
}