Package org.hibernate

Class QueryTimeoutException

All Implemented Interfaces:
Serializable

public class QueryTimeoutException extends JDBCException
Thrown when a database query timeout occurs.
See Also:
  • Constructor Details

    • QueryTimeoutException

      public QueryTimeoutException(String message, SQLException sqlException, String sql)
      Constructs a QueryTimeoutException using the supplied information.
      Parameters:
      message - The message explaining the exception condition
      sqlException - The underlying SQLException
      sql - The sql being executed when the exception occurred.