Interface ValidationErrorsProvider

    • Method Detail

      • finalizeValidationErrors

        void finalizeValidationErrors()
        Finalizes the latest ValidationErrors instance for this transaction.
      • collectValidationErrors

        void collectValidationErrors​(ValidationException e,
                                     java.util.Optional<java.lang.String> language,
                                     java.util.Optional<java.lang.Integer> position)
        Collects the errors in the validation exception and adds to the global validation context.
        Parameters:
        e - the exception
        language - optional; the validated language
        position - optional; the position in which the object value in the collection