Hi,
I'm using the Web Service to upload files into a repository. I have a question about what exception actually gets thrown when a duplicate is identified by the Repository.
Currently, in my code I get a RepositoryFault exception when the Repository system encounters a duplicate. If I use the getMessage1() method of the fault, I can see from the message text that the actual exception is org.alfresco.service.cmr.repository.DuplicateChildNodeNameException.
Assuming that there are other reasons why a RepositoryFault could occur, is there any way to catch the DuplicateChildNodeNameException directly as a thrown Exception from the Repository rather than parsing the message text to figure out what happened? (I do note that the returned errorCode is set to 0).
Thanks for any advice on this.
Carlos S. Zamudio