QueryTimeoutException(message, cause, query) - JPA QueryTimeoutException's constructor

Constructor
javax.persistence.QueryTimeoutException
QueryTimeoutException(
  String message,
  Throwable cause,
  Query query
)

Constructs a new QueryTimeoutException exception with the specified detail message, cause, and query.
Parameters:
message - the detail message.
cause - the cause.
query - the query.
Since:
JPA 2.0