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

Components

Fix versions

Affects versions

5.2.8

Priority

Major