Konrad Windszus created JCRVLT-547:
--------------------------------------

             Summary: Distinguish between recoverable and unrecoverable 
exceptions in intermediate saves
                 Key: JCRVLT-547
                 URL: https://issues.apache.org/jira/browse/JCRVLT-547
             Project: Jackrabbit FileVault
          Issue Type: Improvement
            Reporter: Konrad Windszus


Both {{RepositoryCopier}} and {{Importer}} leverage intermediate save() 
operations. Those might transiently fail in case they are triggered e.g. before 
mandatory child nodes have been added. To no defer not transient exceptions and 
to not fail too early the intermediate saves should distinguish between those 
two exceptions. Transient exceptions are subclasses of 
# 
https://docs.adobe.com/content/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/InvalidItemStateException.html
# 
https://docs.adobe.com/content/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/nodetype/ConstraintViolationException.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to