public void setClientInfo(Properties properties)
throws SQLClientInfoException {
FailedProperties40 fp = new FailedProperties40(properties);
try { checkForClosedConnection(); }
catch (SqlException se) {
throw new SQLClientInfoException(se.getMessage(), se.getSQLState(),
fp.getProperties());
}
if (properties == null || properties.isEmpty()) {
return;
}
SqlException se =
new SqlException(agent_.logWriter_,
new ClientMessageId
(SQLState.PROPERTY_UNSUPPORTED_CHANGE),
fp.getFirstKey(), fp.getFirstValue());
throw new SQLClientInfoException(se.getMessage(),
se.getSQLState(), fp.getProperties());
}