All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.sql.SQLClientInfoException Maven / Gradle / Ivy

The newest version!
/*
 * %W% %E%
 *
 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package java.sql;

/**
 * The subclass of {@link SQLException} is thrown when one or more client info properties
 * could not be set on a Connection.  In addition to the information provided
 * by SQLException, a SQLClientInfoException provides a list of client info
 * properties that were not set.
 *
 * Some databases do not allow multiple client info properties to be set
 * atomically.  For those databases, it is possible that some of the client
 * info properties had been set even though the Connection.setClientInfo
 * method threw an exception.  An application can use the getFailedProperties 
 * method to retrieve a list of client info properties that were not set.  The
 * properties are identified by passing a
 * Map<String,ClientInfoStatus> to
 * the appropriate SQLClientInfoException constructor.
 * 

* @see ClientInfoStatus * @see Connection#setClientInfo * @since 1.6 */ public class SQLClientInfoException extends SQLException { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy