Class DuplicateItemidentifierException

Description

public class DuplicateItemidentifierException: Exception is raised when an item identifier is added to a TopicMapObjectInterface, that already exists in this topic map.

public class DuplicateItemidentifierException: Exception is raised when an item identifier is added to a TopicMapObjectInterface, that already exists in this topic map. It is not thrown when both topic map objects are instance of TopicInterface. In this case a TopicsMustMergeException is thrown only in TMAPI implementations, that do not support the "Automatic Merging" feature (http://tmapi.org/features/automerge). If the implementation does support automatic merging, then the merge should take place transparently to the API user.

Located in /org.phptmapi.core/DuplicateItemIdentifierException.exception.php (line 11)

Exception
   |
   --TMAPIRuntimeException
      |
      --DuplicateItemidentifierException
Method Summary
DuplicateItemidentifierException __construct (TopicMapObjectInterface $modifiedObject, TopicMapObjectInterface $unmodifiedObject, string $duplicateItemIdentifier, string $msg)
string getItemidentifier ()
Methods
Constructor __construct (line 20)

Constructor

Constructor

  • access: public
DuplicateItemidentifierException __construct (TopicMapObjectInterface $modifiedObject, TopicMapObjectInterface $unmodifiedObject, string $duplicateItemIdentifier, string $msg)

Redefinition of:
TMAPIRuntimeException::__construct()
Constructor
getItemidentifier (line 50)

getItemidentifier: Returns the duplicate item identifier.

getItemidentifier: Returns the duplicate item identifier.

  • access: public
string getItemidentifier ()
getModifiedObject (line 32)

getModifiedObject: Returns the object that was tried to modify.

getModifiedObject: Returns the object that was tried to modify.

  • access: public
object TopicMapObjectInterface getModifiedObject ()
getUnmodifiedObject (line 41)

getUnmodifiedObject: Returns the object that was not modified.

getUnmodifiedObject: Returns the object that was not modified.

  • access: public
object TopicMapObjectInterface getUnmodifiedObject ()

Inherited Methods

Inherited From TMAPIRuntimeException

TMAPIRuntimeException::__construct()
TMAPIRuntimeException::getCause()

Documentation generated on Fri, 30 Jun 2006 13:06:50 +0200 by phpDocumentor 1.3.0RC4