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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
addErrorIntoCollection
(FeatureExtractionResult collection, FeatureTreeNode element, String errorMessageArg) Adds an error to aFeaturesCollection
-
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 aFeaturesCollection
- Parameters:
collection
- theFeaturesCollection
to add the error toelement
- element which contains errorerrorMessageArg
- the error message- Returns:
- id of the generated error node as String
-