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:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidTimeoutException(java.lang.String msg, java.time.Duration timeout)
Constructor for InvalidTimeoutException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Duration
getTimeout()
-