站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

InvalidTimeoutException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.transaction
Class InvalidTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.transaction.TransactionException
                      extended by org.springframework.transaction.TransactionUsageException
                          extended by 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

Constructor Summary
InvalidTimeoutException(String msg, int timeout)
          Constructor for InvalidTimeoutException.
 
Method Summary
 int getTimeout()
          Return the invalid timeout value.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidTimeoutException

public InvalidTimeoutException(String msg,
                               int timeout)
Constructor for InvalidTimeoutException.

Parameters:
msg - the detail message
timeout - the invalid timeout value
Method Detail

getTimeout

public int getTimeout()
Return the invalid timeout value.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.