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