org.springframework.transaction
Class InvalidTimeoutException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.transaction.TransactionException
                      extended byorg.springframework.transaction.TransactionUsageException
                          extended byorg.springframework.transaction.InvalidTimeoutException
All Implemented Interfaces:
Serializable

public class InvalidTimeoutException
extends TransactionUsageException

Exception that gets thrown when an invalid timeout is specified, i.e. the transaction manager implementation doesn't support timeouts.

Since:
12.05.2003
Author:
Juergen Hoeller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
InvalidTimeoutException(String msg, int timeout)
           
 
Method Summary
 int getTimeout()
           
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, 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)
Method Detail

getTimeout

public int getTimeout()


Copyright (C) 2003-2004 The Spring Framework Project.