1. /*
  2. * @(#)ServiceUnavailableException.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 attempting to communcate with a
  13. * directory or naming service and that service is not available.
  14. * It might be unavailble for different reasons. For example,
  15. * the server might be too busy to service the request, or the server
  16. * might not be registered to service any requests, etc.
  17. * <p>
  18. * Synchronization and serialization issues that apply to NamingException
  19. * apply directly here.
  20. *
  21. * @author Rosanna Lee
  22. * @author Scott Seligman
  23. *
  24. * @version 1.4 00/02/02
  25. * @since 1.3
  26. */
  27. public class ServiceUnavailableException extends NamingException {
  28. /**
  29. * Constructs a new instance of ServiceUnavailableException using an
  30. * explanation. All other fields default to null.
  31. *
  32. * @param explanation Possibly null additional detail about this exception.
  33. * @see java.lang.Throwable#getMessage
  34. */
  35. public ServiceUnavailableException(String explanation) {
  36. super(explanation);
  37. }
  38. /**
  39. * Constructs a new instance of ServiceUnavailableException.
  40. * All fields default to null.
  41. */
  42. public ServiceUnavailableException() {
  43. super();
  44. }
  45. /**
  46. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  47. */
  48. private static final long serialVersionUID = -4996964726566773444L;
  49. }