}
DiskQuotaConfig dqConfig = diskQuotaModel.getObject();
JDBCConfiguration jdbcConfig = jdbcQuotaModel.getObject();
if(dqConfig.getQuotaStore() != null && dqConfig.getQuotaStore().equals("JDBC")) {
try {
gwc.testQuotaConfiguration(jdbcConfig);
} catch(Exception e) {
LOGGER.log(Level.SEVERE, "Error instantiating the JDBC configuration", e);
error("Failure occurred while saving the JDBC configuration"
+ e.getMessage() + " (see the logs for a full stack trace)");
return;