org.hibernate
Class QueryException
- Nestable
public class QueryException
A problem occurred translating a Hibernate query to SQL
due to invalid query syntax, etc.
QueryException(Exception e)
|
QueryException(String message) - Constructs a new
NestableRuntimeException with specified
detail message.
|
QueryException(String message, String queryString)
|
QueryException(String message, Throwable e) - Constructs a new
NestableRuntimeException with specified
detail message and nested Throwable .
|
getCause , getMessage , getMessage , getMessages , getThrowable , getThrowableCount , getThrowables , indexOfThrowable , indexOfThrowable , printPartialStackTrace , printStackTrace , printStackTrace , printStackTrace |
QueryException
public QueryException(Exception e)
QueryException
public QueryException(String message)
Constructs a new NestableRuntimeException
with specified
detail message.
QueryException
public QueryException(String message,
String queryString)
QueryException
public QueryException(String message,
Throwable e)
Constructs a new NestableRuntimeException
with specified
detail message and nested Throwable
.
getMessage
public String getMessage()
Returns the detail message string of this throwable. If it was
created with a null message, returns the following:
( cause==null ? null : cause.toString( ).
- getMessage in interface Nestable
- getMessage in interface NestableRuntimeException
getQueryString
public String getQueryString()
setQueryString
public void setQueryString(String queryString)