All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.hql.internal.QueryExecutionRequestException Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.hql.internal;

import org.hibernate.QueryException;

/**
 * Expecting to execute an illegal operation regarding the query type
 *
 * @author Emmanuel Bernard
 */
public class QueryExecutionRequestException extends QueryException {
	public QueryExecutionRequestException(String message, String queryString) {
		super( message, queryString );
		if ( queryString == null ) {
			throw new IllegalArgumentException( "Illegal to pass null as queryString argument" );
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy