catch (StandardException e)
{
ContextService contextFactory = ContextService.getFactory();
// Get the context manager.
ContextManager cm = contextFactory.getCurrentContextManager();
if (SanityManager.DEBUG)
SanityManager.ASSERT(cm != null);
cm.cleanupOnError(e);
// RESOLVE (mikem) - when split abort works come up with
// a good sanity check here.
//
// index check - there should be no records: