if (sp.jdoIsDeleted()) {
return;
}
sp.speedoGetHome().sendEvent(HomeItf.PRE_REMOVE, sp, null);
sa = (StateItf) tpm.unexport(tx, sp);
sp.speedoGetHome().sendEvent(HomeItf.POST_REMOVE, sp, null);
} catch (RolledBackPersistenceException e) {
throw ((JDOTransactionItf) tx).rollBackOnInternalError(e);
} catch (PersistenceException e) {
throw new JDOException("", ExceptionHelper.getNested(e));
}