validateThrowing abstract method

void validateThrowing(
  1. Object entity
)

Validates entity and throws when there is a validation error

Implementation

void validateThrowing(Object entity);