APIdia Launch Partner
Top Description Fields Constructors
javax.naming

public Class TimeLimitExceededException

extends LimitExceededException
Class Inheritance
Imports
javax.naming.Name

This exception is thrown when a method does not terminate within the specified time limit. This can happen, for example, if the user specifies that the method should take no longer than 10 seconds, and the method fails to complete with 10 seconds.

Synchronization and serialization issues that apply to NamingException apply directly here.

Authors
Rosanna Lee, Scott Seligman
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides javax.naming.LimitExceededException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Summary

AccessConstructor and Description
public
TimeLimitExceededException()

Constructs a new instance of TimeLimitExceededException.

public
TimeLimitExceededException(String
possibly null detail about this exception.
explanation
)

Constructs a new instance of TimeLimitExceededException using the argument supplied.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.LimitExceededException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

TimeLimitExceededExceptionback to summary
public TimeLimitExceededException()

Constructs a new instance of TimeLimitExceededException. All fields default to null.

TimeLimitExceededExceptionback to summary
public TimeLimitExceededException(String explanation)

Constructs a new instance of TimeLimitExceededException using the argument supplied.

Parameters
explanation:String

possibly null detail about this exception.

See Also
java.lang.Throwable#getMessage