java.io.Serializable
public class QueryTimeoutException extends PersistenceException
Constructor | Description |
---|---|
QueryTimeoutException() |
Constructs a new
QueryTimeoutException exception
with null as its detail message. |
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. |
QueryTimeoutException(Query query) |
Constructs a new
QueryTimeoutException exception
with the specified query. |
Modifier and Type | Method | 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()
Copyright © 2018. All rights reserved.