>  -----Original Message-----
> From:         Robert Priest  
> Sent: Tuesday, March 19, 2002 2:53 PM
> To:   'Slide Users Mailing List'
> Subject:      Both RevisionAlreadyExist and RevisionNotFoundException?
> 
> Can anyone tell me how it is possible that I
> call content.create(), receive a RevisionAlreadyExistException, catch it
> and call content.store() to update rather than create;
> and produce the following error:
> 
> org.apache.slide.content.RevisionDescriptorNotFoundException: No revision
> descriptor found on object.
> 
> 
> 
> 
> Here is my code:
> 
>  try
>    {
>    content.create(slideToken, uri, revisionDescriptor, revisionContent);
>    }
>  catch(RevisionAlreadyExistException raee)
>    {
>    System.out.println(" Revision Already created calling
> content.store()");
>    content.store(slideToken, uri, revisionDescriptor, revisionContent);
>    }

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to