QueryExceptionpublic 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.String | getMessage()
String msg = super.getMessage();
if ( queryString!=null ) msg += " [" + queryString + ']";
return msg;
| public java.lang.String | getQueryString()
return queryString;
| public void | setQueryString(java.lang.String queryString)
this.queryString = queryString;
|
|