// Ensure data retrieved is refreshed.
if (isConfiguredOk()) {
try {
Chronometer crono = new Chronometer(); crono.start();
DataSet ds = dataProvider.refreshDataSet();
crono.stop();
elapsedTime = crono.elapsedTime();
nrows = 0;
if (ds != null && ds.getProperties().length > 0) nrows = ds.getRowCount();
} catch (Exception e) {
Throwable cause = ErrorManager.lookup().getRootCause(e);