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
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
- See Also:
- Serialized Form
Method Summary |
int |
getTimeout()
Return the invalid timeout value. |
InvalidTimeoutException
public InvalidTimeoutException(String msg,
int timeout)
- Constructor for InvalidTimeoutException.
- Parameters:
msg
- the detail messagetimeout
- the invalid timeout value
getTimeout
public int getTimeout()
- Return the invalid timeout value.
Copyright © 2002-2006 The Spring Framework.