Module java.naming
Package javax.naming

Class SizeLimitExceededException

All Implemented Interfaces:
Serializable

public class SizeLimitExceededException
extends LimitExceededException
This exception is thrown when a method produces a result that exceeds a size-related limit. This can happen, for example, if the result contains more objects than the user requested, or when the size of the result exceeds some implementation-specific limit.

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

Since:
1.3
See Also:
Serialized Form
  • Constructor Details

    • SizeLimitExceededException

      public SizeLimitExceededException()
      Constructs a new instance of SizeLimitExceededException. All fields default to null.
    • SizeLimitExceededException

      public SizeLimitExceededException​(String explanation)
      Constructs a new instance of SizeLimitExceededException using an explanation. All other fields default to null.
      Parameters:
      explanation - Possibly null detail about this exception.