Code example for QueryException

Methods: getMessage

0
 */ 
@SuppressWarnings("serial") 
public class HibernateQueryException extends InvalidDataAccessResourceUsageException {
 
	public HibernateQueryException(QueryException ex) {
		super(ex.getMessage(), ex);
	} 
 
	/** 
	 * Return the HQL query string that was invalid. 
	 */ 
	public String getQueryString() {
		return ((QueryException) getCause()).getQueryString();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE