Class DataValidationUtil
java.lang.Object
io.mosip.authentication.core.util.DataValidationUtil
The Class DataValidationUtil - Checks for errors in the error object
and throws
IDDataValidationException, if any error is present.- Author:
- Manoj SP
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(org.springframework.validation.Errors errors) Get list of errors from error object and throwsIDDataValidationException, if any error is present.
-
Method Details
-
validate
public static void validate(org.springframework.validation.Errors errors) throws IDDataValidationException Get list of errors from error object and throwsIDDataValidationException, if any error is present.- Parameters:
errors- the errors- Throws:
IDDataValidationException- the ID data validation exception
-