Package org.hibernate

Class QueryTimeoutException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      QueryTimeoutException​(java.lang.String message, java.sql.SQLException sqlException, java.lang.String sql)
      Constructs a QueryTimeoutException using the supplied information.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QueryTimeoutException

        public QueryTimeoutException​(java.lang.String message,
                                     java.sql.SQLException sqlException,
                                     java.lang.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.