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