Package org.springframework.transaction
Class InvalidTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.transaction.TransactionException
org.springframework.transaction.TransactionUsageException
org.springframework.transaction.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
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInvalidTimeoutException(String msg, int timeout) Constructor for InvalidTimeoutException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidTimeoutExceptionConstructor for InvalidTimeoutException.- Parameters:
- msg- the detail message
- timeout- the invalid timeout value
 
 
- 
- 
Method Details- 
getTimeoutpublic int getTimeout()Return the invalid timeout value.
 
-