mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user