Class ErrorsHelper


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

      • 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