1. /*
  2. * @(#)PartialResultException.java 1.6 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.naming;
  8. /**
  9. * This exception is thrown to indicate that the result being returned
  10. * or returned so far is partial, and that the operation cannot
  11. * be completed. For example, when listing a context, this exception
  12. * indicates that returned results only represents some of the bindings
  13. * in the context.
  14. * <p>
  15. * Synchronization and serialization issues that apply to NamingException
  16. * apply directly here.
  17. *
  18. * @author Rosanna Lee
  19. * @version 1.6 03/01/23
  20. * @author Scott Seligman
  21. * @since 1.3
  22. */
  23. public class PartialResultException extends NamingException {
  24. /**
  25. * Constructs a new instance of the exception using the explanation
  26. * message specified. All other fields default to null.
  27. *
  28. * @param explanation Possibly null detail explaining the exception.
  29. */
  30. public PartialResultException(String explanation) {
  31. super(explanation);
  32. }
  33. /**
  34. * Constructs a new instance of PartialResultException.
  35. * All fields default to null.
  36. */
  37. public PartialResultException() {
  38. super();
  39. }
  40. /**
  41. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  42. */
  43. private static final long serialVersionUID = 2572144970049426786L;
  44. }