Package org.springframework.dao
Class QueryTimeoutException
- All Implemented Interfaces:
- Serializable
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.
- Since:
- 3.1
- Author:
- Thomas Risberg
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for QueryTimeoutException.QueryTimeoutException(String msg, Throwable cause) Constructor for QueryTimeoutException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
QueryTimeoutExceptionConstructor for QueryTimeoutException.- Parameters:
- msg- the detail message
 
- 
QueryTimeoutExceptionConstructor for QueryTimeoutException.- Parameters:
- msg- the detail message
- cause- the root cause from the data access API in use
 
 
-