You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Robert Priest <Ro...@bentley.com> on 2002/03/19 20:53:10 UTC
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>