Invalid Entity State Exception
Signals that an entity state does not pass validation.
Functions
Link copied to clipboard
public static InvalidEntityStateException onConstraintViolations(EntityState state, Iterable<ConstraintViolation> violations)
Creates an exception instance for an entity state, which has fields that violate validation constraint(s).