Update of /cvsroot/hibernate/Hibernate3/src/org/hibernate/hql/ast/exec
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19563/src/org/hibernate/hql/ast/exec
Modified Files:
BasicExecutor.java
Log Message:
HHH-1446 : Antlr exception handling
Index: BasicExecutor.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate3/src/org/hibernate/hql/ast/exec/BasicExecutor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BasicExecutor.java 21 Nov 2005 17:02:24 -0000 1.3
+++ BasicExecutor.java 9 Feb 2006 12:37:19 -0000 1.4
@@ -42,7 +42,7 @@
gen.getParseErrorHandler().throwQueryException();
}
catch ( RecognitionException e ) {
- throw new QuerySyntaxException( e );
+ throw QuerySyntaxException.convert( e );
}
}
|