FileDocCategorySizeDatePackage
QueryException.javaAPI DocHibernate 3.2.5896Thu Jun 03 11:31:32 BST 2004org.hibernate

QueryException

public class QueryException extends HibernateException
A problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.

Fields Summary
private String
queryString
Constructors Summary
public QueryException(String message)

		super(message);
	
public QueryException(String message, Throwable e)

		super(message, e);
	
public QueryException(String message, String queryString)

		super(message);
		this.queryString = queryString;
	
public QueryException(Exception e)

		super(e);
	
Methods Summary
public java.lang.StringgetMessage()

		String msg = super.getMessage();
		if ( queryString!=null ) msg += " [" + queryString + ']";
		return msg;
	
public java.lang.StringgetQueryString()

		return queryString;
	
public voidsetQueryString(java.lang.String queryString)

		this.queryString = queryString;