Class BindValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.properties.bind.validation.BindValidationException
- All Implemented Interfaces:
Serializable
Error thrown when validation fails during a bind operation.
- Since:
- 2.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the validation errors that caused the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getValidationErrors
Return the validation errors that caused the exception.- Returns:
- the validationErrors the validation errors
-