Package org.verapdf.features.tools
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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
addErrorIntoCollection(FeatureExtractionResult collection, FeatureTreeNode element, String errorMessageArg)
Adds an error to aFeaturesCollection
-
-
-
Field Detail
-
ERRORID
public static final String ERRORID
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-