mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed ALF-10280: Slow to report « Duplicate entry » in database.
- DuplicateChildNodeNameException implements DoNotRetryException - Must be merged back to V3.4 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,16 +19,20 @@
|
||||
package org.alfresco.service.cmr.repository;
|
||||
|
||||
import org.springframework.extensions.surf.util.I18NUtil;
|
||||
import org.alfresco.repo.transaction.DoNotRetryException;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
|
||||
/**
|
||||
* Thrown when a child node <b>cm:name</b> property violates the data dictionary
|
||||
* <b>duplicate</b> child association constraint.
|
||||
* <p/>
|
||||
* Note that this exception may be triggered by database constraints but must
|
||||
* still NOT trigger transaction retries.
|
||||
*
|
||||
* @author Derek Hulley
|
||||
*/
|
||||
public class DuplicateChildNodeNameException extends RuntimeException
|
||||
public class DuplicateChildNodeNameException extends RuntimeException implements DoNotRetryException
|
||||
{
|
||||
private static final long serialVersionUID = 5143099335847200453L;
|
||||
|
||||
|
Reference in New Issue
Block a user