public final class ValidationFailedException extends RuntimeException
Errors will be appended to the exception message.| Constructor and Description |
|---|
ValidationFailedException(org.springframework.context.MessageSource messageSource,
String message,
org.springframework.validation.Errors errors) |
ValidationFailedException(String message,
org.springframework.validation.Errors errors) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValidationFailedException(String message, org.springframework.validation.Errors errors)
public ValidationFailedException(org.springframework.context.MessageSource messageSource,
String message,
org.springframework.validation.Errors errors)
public String getMessage()
getMessage in class ThrowableCopyright © 2020. All rights reserved.