javax.persistence
Class QueryTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.persistence.PersistenceException
                  extended by javax.persistence.QueryTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class QueryTimeoutException
extends PersistenceException

Thrown by the persistence provider when a query times out.

See Also:
Serialized Form

Constructor Summary
QueryTimeoutException()
           
QueryTimeoutException(Query entity)
           
QueryTimeoutException(java.lang.String message)
           
QueryTimeoutException(java.lang.String message, java.lang.Throwable cause)
           
QueryTimeoutException(java.lang.String message, java.lang.Throwable cause, Query query)
           
QueryTimeoutException(java.lang.Throwable cause)
           
 
Method Summary
 Query getQuery()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryTimeoutException

public QueryTimeoutException()

QueryTimeoutException

public QueryTimeoutException(Query entity)

QueryTimeoutException

public QueryTimeoutException(java.lang.String message)

QueryTimeoutException

public QueryTimeoutException(java.lang.String message,
                             java.lang.Throwable cause)

QueryTimeoutException

public QueryTimeoutException(java.lang.String message,
                             java.lang.Throwable cause,
                             Query query)

QueryTimeoutException

public QueryTimeoutException(java.lang.Throwable cause)
Method Detail

getQuery

public Query getQuery()