}
catch (SQLException sqle)
{
if (((RDBMSAdapter)storeMgr.getDatastoreAdapter()).isStatementCancel(sqle))
{
throw new QueryInterruptedException("Query has been interrupted", sqle);
}
else if (((RDBMSAdapter)storeMgr.getDatastoreAdapter()).isStatementTimeout(sqle))
{
throw new QueryTimeoutException("Query has been timed out", sqle);
}