1. /*
  2. * @(#)ConfigurationException.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 there is a configuration problem.
  13. * This can arise when installation of a provider was
  14. * not done correctly, or if there are configuration problems with the
  15. * server, or if configuration information required to access
  16. * the provider or service is malformed or missing.
  17. * For example, a request to use SSL as the security protocol when
  18. * the service provider software was not configured with the SSL
  19. * component would cause such an exception. Another example is
  20. * if the provider requires that a URL be specified as one of the
  21. * environment properties but the client failed to provide it.
  22. * <p>
  23. * Synchronization and serialization issues that apply to NamingException
  24. * apply directly here.
  25. *
  26. * @author Rosanna Lee
  27. * @author Scott Seligman
  28. * @version 1.4 00/02/02
  29. * @since 1.3
  30. */
  31. public class ConfigurationException extends NamingException {
  32. /**
  33. * Constructs a new instance of ConfigurationException using an
  34. * explanation. All other fields default to null.
  35. *
  36. * @param explanation A possibly null string containing
  37. * additional detail about this exception.
  38. * @see java.lang.Throwable#getMessage
  39. */
  40. public ConfigurationException(String explanation) {
  41. super(explanation);
  42. }
  43. /**
  44. * Constructs a new instance of ConfigurationException with
  45. * all name resolution fields and explanation initialized to null.
  46. */
  47. public ConfigurationException() {
  48. super();
  49. }
  50. /**
  51. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  52. */
  53. private static final long serialVersionUID = -2535156726228855704L;
  54. }