AquaLogic User Interaction Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Publisher Remote API Exceptions

The IDK remote Publisher API (com.plumtree.remote.prc.content) throws six types of exceptions.

Exception Thown When:
ContentException A remote invocation results in an error in Publisher.
ContentSecurityException A user does not have the proper role or access to perform a Publisher operation. For example, only users with Producer or higher roles can create a Data Entry Template; if a user with only a Submitter role were to attempt to create a Data Entry Template, an exception will be thrown.
NameAlreadyInUseException An object of the same type with the same name already exists in the same folder. For example, a folder cannot have two Presentation Templates called "Design"; however, the folder can have a Presentation Template called "Design" and a content item also called "Design" because the two objects are different types. Publisher ignores capitalization and spacing, so it does not distinguish between "Design" and "design."
IllegalArgumentException A Publisher object was named improperly. For example, not naming a Data Entry Template at all or using more than 255 characters in a name will result in this exception. All Publisher objects have a 255-character naming limit.
IllegalStateException An action is performed that cannot be applied to a Publisher object because it does not exist or it is at a state that cannot receive the action. For example, exceptions are thrown if you attempt to attach a Presentation Template to a Data Entry Template that already has an attached Presentation Template, or if you attempt to retrieve the publication date of a Presentation Template that has not been published. An object does not exist until it has been persisted by calling the store method. This exception is also thrown if the containing folder of the object does not exist.
RemoteException Publisher cannot make a connection with a database.

  Back to Top      Previous Next