Top Description Fields Constructors Methods
org.springframework.transaction

public Class InvalidTimeoutException

extends TransactionUsageException
Class Inheritance
Annotations
@SuppressWarnings:serial

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.
Author
Juergen Hoeller
Since
12.05.2003

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public
InvalidTimeoutException(String
the detail message
msg
,
int
the invalid timeout value
timeout
)

Constructor for InvalidTimeoutException.

Method Summary

Modifier and TypeMethod and Description
public int
getTimeout()

Return the invalid timeout value.

Field Detail

timeoutback to summary
private final int timeout

Constructor Detail

InvalidTimeoutExceptionback to summary
public InvalidTimeoutException(String msg, int timeout)

Constructor for InvalidTimeoutException.

Parameters
msg:String

the detail message

timeout:int

the invalid timeout value

Method Detail

getTimeoutback to summary
public int getTimeout()

Return the invalid timeout value.