public class QueryTimeoutException extends PersistenceException
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
Query |
getQuery()
Returns the query that caused this exception.
|
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.public Query getQuery()