1. /*
  2. * @(#)SizeLimitExceededException.java 1.7 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.naming;
  8. import javax.naming.Name;
  9. /**
  10. * This exception is thrown when a method
  11. * produces a result that exceeds a size-related limit.
  12. * This can happen, for example, if the result contains
  13. * more objects than the user requested, or when the size
  14. * of the result exceeds some implementation-specific limit.
  15. * <p>
  16. * Synchronization and serialization issues that apply to NamingException
  17. * apply directly here.
  18. *
  19. * @author Rosanna Lee
  20. * @author Scott Seligman
  21. *
  22. * @version 1.7 03/12/19
  23. * @since 1.3
  24. */
  25. public class SizeLimitExceededException extends LimitExceededException {
  26. /**
  27. * Constructs a new instance of SizeLimitExceededException.
  28. * All fields default to null.
  29. */
  30. public SizeLimitExceededException() {
  31. super();
  32. }
  33. /**
  34. * Constructs a new instance of SizeLimitExceededException using an
  35. * explanation. All other fields default to null.
  36. *
  37. * @param explanation Possibly null detail about this exception.
  38. */
  39. public SizeLimitExceededException(String explanation) {
  40. super(explanation);
  41. }
  42. /**
  43. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  44. */
  45. private static final long serialVersionUID = 7129289564879168579L;
  46. }