We're updating the issue view to help you get more done. 

Throw QueryException rather than antlr-specific exceptions when query parsing fails.

Description

Take the following query:

1 session.createQuery( "bogus" );

This causes an IllegalArguementException that bubbles up an antlr-exception. The antlr-exception should likely be wrapped in a QueryException.

Environment

None

Status

Assignee

Unassigned

Reporter

Chris Cranford

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.8

Priority

Major