[Hibernate-JIRA] (HV-672) Throw meaningful exception in case object and method passed to validateParameters() don't match