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