public class

InvalidTimeoutException

extends TransactionUsageException
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

Class Overview

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.

Summary

Public Constructors
InvalidTimeoutException(String msg, int timeout)
Constructor for InvalidTimeoutException.
Public Methods
int getTimeout()
Return the invalid timeout value.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidTimeoutException (String msg, int timeout)

Constructor for InvalidTimeoutException.

Parameters
msg the detail message
timeout the invalid timeout value

Public Methods

public int getTimeout ()

Return the invalid timeout value.