Class InvalidTimeoutException

All Implemented Interfaces:
Serializable

public class InvalidTimeoutException extends TransactionUsageException
Exception that gets thrown when an invalid timeout is specified, that is, the specified timeout valid is out of range or the transaction manager implementation doesn't support timeouts.
Since:
12.05.2003
Author:
Juergen Hoeller, graemerocher
See Also:
  • Constructor Details

    • InvalidTimeoutException

      public InvalidTimeoutException(String msg, Duration timeout)
      Constructor for InvalidTimeoutException.
      Parameters:
      msg - the detail message
      timeout - the invalid timeout value
  • Method Details

    • getTimeout

      public Duration getTimeout()
      Returns:
      Return the invalid timeout value.