Class AllErrors


  • public class AllErrors
    extends Object
    Object for storing binding and validation errors.
    • Method Detail

      • hasErrors

        public boolean hasErrors()
        Test if there is at least one error.
        Returns:
        true if there is at least one error, false otherwise.
      • addError

        public void addError​(String metadataPath,
                             Errors errors)
        Add an error.
        Parameters:
        metadataPath - the metadata path or null if global to the content.
        errors - the errors.