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