|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.QueryTimeoutException
public class QueryTimeoutException
Thrown by the persistence provider when a query times out. The current transaction, if one is active, will be not be marked for rollback.
Constructor Summary | |
---|---|
QueryTimeoutException()
Constructs a new QueryTimeoutException exception
with null as its detail message. |
|
QueryTimeoutException(Query query)
Constructs a new QueryTimeoutException exception
with the specified query. |
|
QueryTimeoutException(java.lang.String message)
Constructs a new QueryTimeoutException exception
with the specified detail message. |
|
QueryTimeoutException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new QueryTimeoutException exception
with the specified detail message and cause. |
|
QueryTimeoutException(java.lang.String message,
java.lang.Throwable cause,
Query query)
Constructs a new QueryTimeoutException exception
with the specified detail message, cause, and query. |
|
QueryTimeoutException(java.lang.Throwable cause)
Constructs a new QueryTimeoutException exception
with the specified cause. |
Method Summary | |
---|---|
Query |
getQuery()
Returns the query that caused this exception. |
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 |
---|
public QueryTimeoutException()
QueryTimeoutException
exception
with null
as its detail message.
public QueryTimeoutException(java.lang.String message)
QueryTimeoutException
exception
with the specified detail message.
message
- the detail message.public QueryTimeoutException(java.lang.String message, java.lang.Throwable cause)
QueryTimeoutException
exception
with the specified detail message and cause.
message
- the detail message.cause
- the cause.public QueryTimeoutException(java.lang.Throwable cause)
QueryTimeoutException
exception
with the specified cause.
cause
- the cause.public QueryTimeoutException(Query query)
QueryTimeoutException
exception
with the specified query.
query
- the query.public QueryTimeoutException(java.lang.String message, java.lang.Throwable cause, Query query)
QueryTimeoutException
exception
with the specified detail message, cause, and query.
message
- the detail message.cause
- the cause.query
- the query.Method Detail |
---|
public Query getQuery()
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |