类 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
- 所有已实现的接口:
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.- 从以下版本开始:
- 12.05.2003
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 InvalidTimeoutException(String msg, int timeout)
Constructor for InvalidTimeoutException.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
getTimeout()
Return the invalid timeout value.从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
InvalidTimeoutException
public InvalidTimeoutException(String msg, int timeout)
Constructor for InvalidTimeoutException.- 参数:
msg
- the detail messagetimeout
- the invalid timeout value
方法详细资料
getTimeout
public int getTimeout()
Return the invalid timeout value.