Package org.verapdf.features.tools
Class ErrorsHelper
java.lang.Object
org.verapdf.features.tools.ErrorsHelper
Static class with constants for feature error ids and messages
- Author:
- Maksim Bezrukov
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaddErrorIntoCollection(FeatureExtractionResult collection, FeatureTreeNode element, String errorMessageArg) Adds an error to aFeatureExtractionResult
-
Field Details
-
ERRORID
- See Also:
-
ID
- See Also:
-
-
Method Details
-
addErrorIntoCollection
public static String addErrorIntoCollection(FeatureExtractionResult collection, FeatureTreeNode element, String errorMessageArg) Adds an error to aFeatureExtractionResult- Parameters:
collection- theFeatureExtractionResultto add the error toelement- element which contains errorerrorMessageArg- the error message- Returns:
- id of the generated error node as String
-