Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate
Class QueryException  view QueryException download QueryException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.hibernate.exception.NestableRuntimeException
                  extended byorg.hibernate.HibernateException
                      extended byorg.hibernate.QueryException
All Implemented Interfaces:
org.hibernate.exception.Nestable, java.io.Serializable

public class QueryException
extends HibernateException

A problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.String queryString
           
 
Fields inherited from class org.hibernate.exception.NestableRuntimeException
delegate
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
QueryException(java.lang.Exception e)
           
QueryException(java.lang.String message)
           
QueryException(java.lang.String message, java.lang.String queryString)
           
QueryException(java.lang.String message, java.lang.Throwable e)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 java.lang.String getQueryString()
           
 void setQueryString(java.lang.String queryString)
           
 
Methods inherited from class org.hibernate.exception.NestableRuntimeException
getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

queryString

private java.lang.String queryString
Constructor Detail

QueryException

public QueryException(java.lang.String message)

QueryException

public QueryException(java.lang.String message,
                      java.lang.Throwable e)

QueryException

public QueryException(java.lang.String message,
                      java.lang.String queryString)

QueryException

public QueryException(java.lang.Exception e)
Method Detail

getQueryString

public java.lang.String getQueryString()

setQueryString

public void setQueryString(java.lang.String queryString)

getMessage

public java.lang.String getMessage()
Description copied from class: org.hibernate.exception.NestableRuntimeException
Returns the detail message string of this throwable. If it was created with a null message, returns the following: ( cause==null ? null : cause.toString( ).