Collects error message string as list from all the errors in the container
@return error message as list of string
768056
public List<String> getMessages() {
        List<String> errorMessages = new ArrayList<>();
        for (ValidationError error : errors) {
            errorMessages.add(error.getMessage());
        }
        return errorMessages;
    }
443680
public java.util.List<com.google.appengine.v1.ErrorHandler> getErrorHandlersList() {
    return errorHandlers_;
  }
49958
protected static String getString(List<com.intuit.payment.data.Error> errorList) {
		String exceptionDetails = "";
		if (errorList != null) {
			Iterator<com.intuit.payment.data.Error> iter = errorList.iterator();
			while (iter.hasNext()) {
				com.intuit.payment.data.Error error = iter.next();
				StringBuilder sb = new StringBuilder();
				sb.append("ERROR CODE:").append(error.getCode())
				.append(", ERROR MESSAGE:").append(error.getMessage())
				.append(", ERROR DETAIL:").append(error.getDetail())
				.append(", ERROR INFO LINK:").append(error.getInfoLink())
				.append(", ERROR MORE INFO:").append(error.getMoreInfo())
				.append(", ERROR TYPE:").append(error.getType());
				
				sb.append("\r\n");
				exceptionDetails = exceptionDetails + sb.toString();
			}
		}
		return exceptionDetails;
	}
124881
public function getAllMessage()
    {
        $messages = [];
        foreach (array_keys($this->errors) as $key) {
            $messages[$key] = $this->getMessage($key);
        }
        return $messages;
    }
1345164
public final List<MtasSolrStatus> checkForExceptions() {
    List<MtasSolrStatus> statusWithException = null;
    for (MtasSolrStatus item : data) {
      if (item.checkResponseForException()) {
        if (statusWithException == null) {
          statusWithException = new ArrayList<>();
        }
        statusWithException.add(item);
      }
    }
    return statusWithException;
  }
1040173
public List<Throwable> getErrors() {
        List<Throwable> list = new ArrayList<>();
        list.addAll(errors);
        for (PathWrapper ar : pathWrappers) {
            list.addAll(ar.getErrors());
        }
        return list;
    }
172804
public List<ObjectError> getGlobalErrors() {
        return errors.stream()
                .filter(e -> !(e instanceof FieldError))
                .collect(Collectors.toList());
    }
1304636
private String getArgRequiredErrorMessage() {
        return getMutexTargetList().isEmpty() ?
                String.format("Argument '%s' is required", getLongName()) :
                String.format("Argument '%s' is required unless one of {%s} are provided", getLongName(), getMutexTargetList());
    }
789390
private String getCreationErrorMessage() {

        String message = new String();
        if (!m_resourcesCreated.isEmpty()) {
            // some resources have been created, tell the user which resources were created successfully
            StringBuffer buf = new StringBuffer(64);
            for (String name : m_resourcesCreated.values()) {
                buf.append("<br />");
                buf.append(name);
            }
            message = m_bundle.key(org.opencms.ade.upload.Messages.ERR_UPLOAD_CREATING_1, buf.toString());
        } else {
            // no resources have been created on the VFS
            message = m_bundle.key(org.opencms.ade.upload.Messages.ERR_UPLOAD_CREATING_0);
        }
        return message;
    }
167516
public function getErrorMessages()
    {
        $errors = [];
        foreach ($this->fields as $field) {
            if ($field instanceof AbstractFormField && !$field->isValid()) {
                $fldErrors = $field->getErrorMessages();
                $errors = array_merge($errors, $fldErrors);
            }
        }

        return $errors;
    }
583879
public List<ValidationError> validateInput() {
        List<ValidationError> errors = new ArrayList<>();
        Object value = getModel().getValue(getName());
        ValidationError error;
        for (InputValidator validator : validators) {
            error = validator.validate(value, getName(), getLabel());
            if (error != null){
                errors.add(error);
            }
        }
        return errors;
    }
735215
public List<CompileEvent> getErrors() {
        List<CompileEvent> errors = new ArrayList<CompileEvent>();
        for (CompileEvent event : mIssues) {
            if (event.isError()) { errors.add(event); }
        }
        
        return errors;
    }
961558
public List<ErrorDetail> getErrorDetails() {
        List<ErrorDetail> result = new ArrayList<ErrorDetail>();
        List<ErrorDetailType> errorDetailTypes = getContent().getErrorDetails();
        if (errorDetailTypes != null) {
            for (ErrorDetailType errorDetailType : errorDetailTypes) {
                ErrorDetail errorDetail = new ErrorDetail(
                        errorDetailType.getCode(), errorDetailType.getMessage());
                result.add(errorDetail);
            }
            return result;
        }
        return null;
    }
1373324
public String formatErrors() {

		if (errors.size() > 0) {

			StringBuilder results = new StringBuilder();

			for (Throwable t : errors) {
				results.append(t.getMessage());
				results.append("\n");
				if (t instanceof NullPointerException
						|| t instanceof CompilerError) {

					results.append(formatStackTrace(t));

				} else if (t instanceof SystemException) {

					results.append(formatStackTrace(t));

					Throwable cause = t.getCause();
					if (cause != null) {
						results.append("\nCause:\n");
						results.append(cause.getMessage());
						results.append("\n");
					}
					results.append(formatStackTrace(t));
				}
			}
			return results.toString();
		} else {
			return null;
		}
	}
864869
public List getErrors() {
		if (hasChilds()) {
			List ret = new ArrayList(0);
			Iterator it = getChilds().iterator();
			while (it.hasNext()) {
				ret.addAll(((AbcNode) it.next()).getErrors());
			}
			return ret;
		} else {
			return errors != null ? errors : new ArrayList(0);
		}
	}
468670
public function Errors() {
      $Return = '';
      if (is_array($this->_ValidationResults) && count($this->_ValidationResults) > 0) {
         $Return = "<div class=\"Messages Errors\">\n<ul>\n";
         foreach($this->_ValidationResults as $FieldName => $Problems) {
            $Count = count($Problems);
            for($i = 0; $i < $Count; ++$i) {
               if (substr($Problems[$i], 0, 1) == '@')
                  $Return .= '<li>'.substr($Problems[$i], 1)."</li>\n";
               else
                  $Return .= '<li>' . sprintf(
                     T($Problems[$i]),
                     T($FieldName)) . "</li>\n";
            }
         }
         $Return .= "</ul>\n</div>\n";
      }
      return $Return;
   }
1079859
public VOMSErrorMessage[] errorMessages() {

    NodeList nodes = xmlResponse.getElementsByTagName("item");

    if (nodes.getLength() == 0)
      return null;

    List<VOMSErrorMessage> errorList = new ArrayList<VOMSErrorMessage>();

    for (int i = 0; i < nodes.getLength(); i++) {

      Element itemElement = (Element) nodes.item(i);

      Element numberElement = (Element) itemElement.getElementsByTagName(
        "number").item(0);
      Element messageElement = (Element) itemElement.getElementsByTagName(
        "message").item(0);

      int number = Integer.parseInt(numberElement.getFirstChild()
        .getNodeValue());
      if (number >= ERROR_OFFSET)
        errorList.add(new VOMSErrorMessage(number, messageElement
          .getFirstChild().getNodeValue()));

    }

    if (errorList.isEmpty())
      return null;

    return errorList.toArray(new VOMSErrorMessage[errorList.size()]);
  }