Module java.naming
Package javax.naming

Class SizeLimitExceededException

  • All Implemented Interfaces:

    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • 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.
        explanation - Possibly null detail about this exception.