Ondra Žižka edited a comment on Bug HHH-4084

Yes, that was my point - to have some proper exception instead of generic StringIndexOutOfBoundsException from the depth of impl code.
The case when this code occurs is when entities are (errorneously) generated by an IDE.

AnnotationException is fine.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira