1. /*
  2. * @(#)CommunicationException.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 when the client is
  10. * unable to communicate with the directory or naming service.
  11. * The inability to communicate with the service might be a result
  12. * of many factors, such as network partitioning, hardware or interface problems,
  13. * failures on either the client or server side.
  14. * This exception is meant to be used to capture such communication problems.
  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. * @version 1.6 03/01/23
  22. * @since 1.3
  23. */
  24. public class CommunicationException extends NamingException {
  25. /**
  26. * Constructs a new instance of CommunicationException using the
  27. * arguments supplied.
  28. *
  29. * @param explanation Additional detail about this exception.
  30. * @see java.lang.Throwable#getMessage
  31. */
  32. public CommunicationException(String explanation) {
  33. super(explanation);
  34. }
  35. /**
  36. * Constructs a new instance of CommunicationException.
  37. */
  38. public CommunicationException() {
  39. super();
  40. }
  41. /**
  42. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  43. */
  44. private static final long serialVersionUID = 3618507780299986611L;
  45. }