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 ValidationExceptionValidationException.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 ValidationExceptionValidationException.fromResults(String correlationId, List<ValidationResult> results, boolean strict) Creates a new ValidationException based on errors in validation results.static voidValidationException.throwExceptionIfNeeded(String correlationId, List<ValidationResult> results, boolean strict) Throws ValidationException based on errors in validation results.voidSchema.validateAndThrowException(String correlationId, Object value) Validates the given value and throws a ValidationException if errors were found.voidSchema.validateAndThrowException(String correlationId, Object value, boolean strict) Validates the given value and returns a ValidationException if errors were found.