Removed RetryingTransactionHelper and friends. AVMService's transactional

behavior is now declaratively specified.  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-03 06:30:05 +00:00
parent 7c70be1811
commit 0b58cca272
10 changed files with 181 additions and 1000 deletions

View File

@@ -31,6 +31,8 @@ import org.alfresco.service.cmr.avm.AVMException;
import org.alfresco.service.cmr.avm.AVMNodeDescriptor;
import org.alfresco.service.cmr.avm.AVMService;
import org.alfresco.service.cmr.avm.AVMStoreDescriptor;
import org.hibernate.HibernateException;
import org.springframework.dao.ConcurrencyFailureException;
/**
@@ -222,6 +224,7 @@ class AVMCrawler implements Runnable
}
catch (Exception e)
{
e.printStackTrace(System.err);
if (e instanceof AVMException)
{
return;
@@ -230,7 +233,14 @@ class AVMCrawler implements Runnable
{
return;
}
e.printStackTrace(System.err);
if (e instanceof ConcurrencyFailureException)
{
return;
}
if (e instanceof HibernateException)
{
return;
}
throw new AVMException("Failure", e);
}
}