* If DataSource execution fails
*/
public DataSource getDataSource(Memento m) throws NoSuchTableException,
DataSourceCreationException, ExecutionException {
if (m instanceof DataSourceLayerMemento) {
DataSourceLayerMemento mem = (DataSourceLayerMemento) m;
return getDataSource(mem.getTableName(), mem.getTableAlias());
} else {
OperationLayerMemento mem = (OperationLayerMemento) m;
return executeSQL(mem.getSql());
}
}