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

org.hibernate.QueryParameterException Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-License-Identifier: LGPL-2.1-or-later
 * Copyright Red Hat Inc. and Hibernate Authors
 */
package org.hibernate;

/**
 * Indicates a problem with the runtime arguments bound to query parameters.
 *
 * @author Emmanuel Bernard
 */
public class QueryParameterException extends QueryException {
	/**
	 * Constructs a {@code QueryParameterException} using the supplied exception message.
	 *
	 * @param message The message explaining the exception condition
	 */
	public QueryParameterException(String message) {
		super( message );
	}

	/**
	 * Constructs a {@code QueryParameterException}
	 *
	 * @param message The message explaining the exception condition
	 * @param queryString The query that led to the exception
	 * @param cause The underlying cause
	 */
	public QueryParameterException(String message, String queryString, Exception cause) {
		super( message, queryString, cause );
	}

	/**
	 * Constructs a {@code QueryParameterException}
	 *
	 * @param message The message explaining the exception condition
	 * @param queryString The query that led to the exception
	 */
	public QueryParameterException(String message, String queryString) {
		super( message, queryString );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy