APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming

public Class LimitExceededException

extends NamingException
Class Inheritance
Known Direct Subclasses
javax.naming.SizeLimitExceededException, javax.naming.TimeLimitExceededException
Imports
javax.naming.Name

This exception is thrown when a method terminates abnormally due to a user or system specified limit. This is different from a InsufficientResourceException in that LimitExceededException is due to a user/system specified limit. For example, running out of memory to complete the request would be an insufficient resource. The client asking for 10 answers and getting back 11 is a size limit exception.

Examples of these limits include client and server configuration limits such as size, time, number of hops, etc.

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.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability
Inherited from javax.naming.NamingException:
remainingNameresolvedNameresolvedObjrootException

Constructor Summary

AccessConstructor and Description
public
LimitExceededException()

Constructs a new instance of LimitExceededException with all name resolution fields and explanation initialized to null.

public
LimitExceededException(String
Possibly null detail about this exception.
explanation
)

Constructs a new instance of LimitExceededException using an explanation.

Method Summary

Inherited from javax.naming.NamingException:
appendRemainingComponentappendRemainingNamegetCausegetExplanationgetRemainingNamegetResolvedNamegetResolvedObjgetRootCauseinitCausesetRemainingNamesetResolvedNamesetResolvedObjsetRootCausetoStringtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

LimitExceededExceptionback to summary
public LimitExceededException()

Constructs a new instance of LimitExceededException with all name resolution fields and explanation initialized to null.

LimitExceededExceptionback to summary
public LimitExceededException(String explanation)

Constructs a new instance of LimitExceededException using an explanation. All other fields default to null.

Parameters
explanation:String

Possibly null detail about this exception.

See Also
java.lang.Throwable#getMessage