1. /*
  2. * @(#)PartialResultException.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. /**
  12. * This exception is thrown to indicate that the result being returned
  13. * or returned so far is partial, and that the operation cannot
  14. * be completed. For example, when listing a context, this exception
  15. * indicates that returned results only represents some of the bindings
  16. * in the context.
  17. * <p>
  18. * Synchronization and serialization issues that apply to NamingException
  19. * apply directly here.
  20. *
  21. * @author Rosanna Lee
  22. * @version 1.4 00/02/02
  23. * @author Scott Seligman
  24. * @since 1.3
  25. */
  26. public class PartialResultException extends NamingException {
  27. /**
  28. * Constructs a new instance of the exception using the explanation
  29. * message specified. All other fields default to null.
  30. *
  31. * @param explanation Possibly null detail explaining the exception.
  32. */
  33. public PartialResultException(String explanation) {
  34. super(explanation);
  35. }
  36. /**
  37. * Constructs a new instance of PartialResultException.
  38. * All fields default to null.
  39. */
  40. public PartialResultException() {
  41. super();
  42. }
  43. /**
  44. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  45. */
  46. private static final long serialVersionUID = 2572144970049426786L;
  47. }