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