protected boolean errorsOccurred(){
  for (Iterator iter=errors.iterator(); iter.hasNext(); ) {
    IStatus status=(IStatus)iter.next();
    if (status.getSeverity() == IStatus.ERROR)     return true;
  }
  return false;
}

protected boolean errorsOccurred ( ) { for ( Iterator iter = errors . iterator ( ) ; iter . hasNext ( ) ; ) { IStatus status = ( IStatus ) iter . next ( ) ; if ( status . getSeverity ( ) == IStatus . ERROR ) return true ; } return false ; }
return true if any of the accumulated status have a severity of error
