public class QueryTimeoutException extends TransientDataAccessException
This exception can be thrown by user code trapping the native database exception or by exception translation.
Constructor and Description |
---|
QueryTimeoutException(java.lang.String msg)
Constructor for QueryTimeoutException.
|
QueryTimeoutException(java.lang.String msg,
java.lang.Throwable cause)
Constructor for QueryTimeoutException.
|
contains, getMessage, getMostSpecificCause, getRootCause
public QueryTimeoutException(java.lang.String msg)
msg
- the detail messagepublic QueryTimeoutException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause from the data access API in use