Skip to content

Commit ce98e3e

Browse files
authored
ParsingException should extend QueryException (#6816)
1 parent 336f83b commit ce98e3e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

hibernate-core/src/main/java/org/hibernate/query/sqm/ParsingException.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
package org.hibernate.query.sqm;
88

9-
import org.hibernate.HibernateException;
9+
import org.hibernate.QueryException;
1010

1111
/**
1212
* Occurs when an unexpected condition is encountered while interpreting the
@@ -26,12 +26,8 @@
2626
*
2727
* @see InterpretationException
2828
*/
29-
public class ParsingException extends HibernateException {
29+
public class ParsingException extends QueryException {
3030
public ParsingException(String message) {
3131
super( message );
3232
}
33-
34-
public ParsingException(String message, Throwable cause) {
35-
super( message, cause );
36-
}
3733
}

0 commit comments

Comments
 (0)