Top Description Constructors
org.springframework.dao

public Class QueryTimeoutException

extends TransientDataAccessException
Class Inheritance
Annotations
@SuppressWarnings:serial

Exception to be thrown on a query timeout. This could have different causes depending on the database API in use but most likely thrown after the database interrupts or stops the processing of a query before it has completed.

This exception can be thrown by user code trapping the native database exception or by exception translation.

Author
Thomas Risberg
Since
3.1

Constructor Summary

AccessConstructor and Description
public
QueryTimeoutException(String
the detail message
msg
)

Constructor for QueryTimeoutException.

public
QueryTimeoutException(String
the detail message
msg
,
Throwable
the root cause from the data access API in use
cause
)

Constructor for QueryTimeoutException.

Constructor Detail

QueryTimeoutExceptionback to summary
public QueryTimeoutException(String msg)

Constructor for QueryTimeoutException.

Parameters
msg:String

the detail message

QueryTimeoutExceptionback to summary
public QueryTimeoutException(String msg, Throwable cause)

Constructor for QueryTimeoutException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the data access API in use