Class InvalidTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.transaction.exceptions.TransactionException
io.micronaut.transaction.exceptions.TransactionUsageException
io.micronaut.transaction.exceptions.InvalidTimeoutException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionInvalidTimeoutException
(String msg, Duration timeout) Constructor for InvalidTimeoutException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidTimeoutException
Constructor for InvalidTimeoutException.- Parameters:
msg
- the detail messagetimeout
- the invalid timeout value
-
-
Method Details
-
getTimeout
- Returns:
- Return the invalid timeout value.
-