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(String message)
Constructs a new
QueryTimeoutException exception
with the specified detail message. |
QueryTimeoutException(String message,
Throwable cause)
Constructs a new
QueryTimeoutException exception
with the specified detail message and cause. |
QueryTimeoutException(String message,
Throwable cause,
Query query)
Constructs a new
QueryTimeoutException exception
with the specified detail message, cause, and query. |
QueryTimeoutException(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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public QueryTimeoutException()
QueryTimeoutException
exception
with null
as its detail message.public QueryTimeoutException(String message)
QueryTimeoutException
exception
with the specified detail message.message
- the detail message.public QueryTimeoutException(String message, Throwable cause)
QueryTimeoutException
exception
with the specified detail message and cause.message
- the detail message.cause
- the cause.public QueryTimeoutException(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 Query getQuery()
Copyright © 2017 JBoss by Red Hat. All rights reserved.