ConstraintViolation which allows to get additional information for a constraint violation.
| Modifier and Type | Method and Description |
|---|---|
| public <C> C | Returns: an instance of the specified type set by the user viaHibernateConstraintValidatorContext#withDynamicPayload(Object) or null if no constraint payload
if the given type has been set.The type of payload to retrieve type)
|
| getDynamicPayload | back to summary |
|---|---|
public <C> C getDynamicPayload(Class<C> type)
| |