}
validateAttributes();
try {
DatabaseType db_type = getDatabaseType();
Connection conn = getConnection();
boolean exists = db_type.checkColumnExists(conn, table, column);
if (!exists) {
throw new BuildException(MSG.getMsg(DbAntI18NResourceKeys.ERROR_UPDATING_NONEXISTING_COLUMN, column,
table));
}
log(MSG.getMsg(DbAntI18NResourceKeys.UPDATING_COLUMN, table, column, modifyCmd));
db_type.updateColumn(conn, table, column, modifyCmd);
} catch (Exception e) {
throw new BuildException(MSG.getMsg(DbAntI18NResourceKeys.ERROR_UPDATING_COLUMN, column, table, e), e);
}
}