Class ErrorsHelper

java.lang.Object
org.verapdf.features.tools.ErrorsHelper

public final class ErrorsHelper extends Object
Static class with constants for feature error ids and messages
Author:
Maksim Bezrukov
  • Field Details

  • Method Details

    • addErrorIntoCollection

      public static String addErrorIntoCollection(FeatureExtractionResult collection, FeatureTreeNode element, String errorMessageArg)
      Adds an error to a FeaturesCollection
      Parameters:
      collection - the FeaturesCollection to add the error to
      element - element which contains error
      errorMessageArg - the error message
      Returns:
      id of the generated error node as String