Top Description Constructors Methods
org.hibernate

public Class QueryTimeoutException

extends JDBCException
Class Inheritance
Imports
java.sql.SQLException

Thrown when a database query timeout occurs.
Author
Scott Marlow

Constructor Summary

AccessConstructor and Description
public
QueryTimeoutException(String
The message explaining the exception condition
message
,
SQLException
The underlying SQLException
sqlException
,
String
The sql being executed when the exception occurred.
sql
)

Constructs a QueryTimeoutException using the supplied information.

Method Summary

Inherited from org.hibernate.JDBCException:
getErrorCodegetErrorMessagegetSQLgetSQLExceptiongetSQLState

Constructor Detail

QueryTimeoutExceptionback to summary
public QueryTimeoutException(String message, SQLException sqlException, String sql)

Constructs a QueryTimeoutException using the supplied information.

Parameters
message:String

The message explaining the exception condition

sqlException:SQLException

The underlying SQLException

sql:String

The sql being executed when the exception occurred.