Class QueryTimeoutException

All Implemented Interfaces:
Serializable

public final class QueryTimeoutException extends DatabaseException
Exception thrown when a statement has timed out or been cancelled.
See Also:
  • Constructor Details

    • QueryTimeoutException

      public QueryTimeoutException(SQLException cause, @Nullable String message)
      Instantiates a new QueryTimeoutException
      Parameters:
      cause - the underlying cause
      message - the error message
    • QueryTimeoutException

      public QueryTimeoutException(@Nullable String message)
      Instantiates a new QueryTimeoutException, for a client reconstructing this exception from a message, having no SQLException to hand.
      Parameters:
      message - the error message
    • QueryTimeoutException

      public QueryTimeoutException(@Nullable SQLException cause, ErrorType errorType, @Nullable String detail)
      Instantiates a new QueryTimeoutException, its message the one associated with the error type
      Parameters:
      cause - the underlying cause, if any
      errorType - the error type
      detail - the detail, null if none