Module java.sql
Package java.sql

Class SQLClientInfoException

java.lang.Object
All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class SQLClientInfoException extends SQLException
The subclass of 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.
Since:
1.6
See Also: