Uses of Class
org.pipservices3.commons.validate.ValidationException
Packages that use ValidationException
-
Uses of ValidationException in org.pipservices3.commons.validate
Methods in org.pipservices3.commons.validate that return ValidationExceptionModifier and TypeMethodDescriptionstatic ValidationException
ValidationException.fromResults
(String correlationId, List<ValidationResult> results, boolean strict) Creates a new ValidationException based on errors in validation results.Methods in org.pipservices3.commons.validate that throw ValidationExceptionModifier and TypeMethodDescriptionstatic ValidationException
ValidationException.fromResults
(String correlationId, List<ValidationResult> results, boolean strict) Creates a new ValidationException based on errors in validation results.static void
ValidationException.throwExceptionIfNeeded
(String correlationId, List<ValidationResult> results, boolean strict) Throws ValidationException based on errors in validation results.void
Schema.validateAndThrowException
(String correlationId, Object value) Validates the given value and throws a ValidationException if errors were found.void
Schema.validateAndThrowException
(String correlationId, Object value, boolean strict) Validates the given value and returns a ValidationException if errors were found.