QueryTranslatorImpl.doCompile() to handle IllegalStateExceptions

Description

org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(Map, boolean, String)
should additionally handle (and probably rethrow as QueryException) IllegalStateExceptions thrown by e.g.
org.hibernate.hql.ast.tree.SelectClause.initializeExplicitSelectClause(FromClause)

you only get

which does not allow to identify the query easily

this might apply to other runtime exceptions thrown but not catched as well

Environment

None

Assignee

Unassigned

Reporter

Jürgen

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor