Class TopicsMustMergeException

Description

public class TopicsMustMergeException: Exception raised when a topic is changed in such a way that it would have to be merged with another topic in the same topic map.

public class TopicsMustMergeException: Exception raised when a topic is changed in such a way that it would have to be merged with another topic in the same topic map. This exception should only be thrown if the "Automatic Merging" feature (http://tmapi.org/features/automerge) is disabled. If automatic merging is enabled, then the merge should take place transparently to the API user. If an implementation throws this exception, then the property change which caused the exception to be raised MUST NOT be completed.

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

Exception
   |
   --TMAPIRuntimeException
      |
      --MergeException
         |
         --TopicsMustMergeException
Method Summary
TopicsMustMergeException __construct (TopicInterface $modified, TopicInterface $unmodified, string $msg)
Methods
Constructor __construct (line 19)

Constructor

Constructor

  • access: public
TopicsMustMergeException __construct (TopicInterface $modified, TopicInterface $unmodified, string $msg)

Redefinition of:
MergeException::__construct()
Constructor
getModifiedTopic (line 30)

getModifiedTopic: Returns the topic which was changed in the operation that raised this exception.

getModifiedTopic: Returns the topic which was changed in the operation that raised this exception.

  • access: public
object TopicInterface getModifiedTopic ()
getUnmodifiedTopic (line 39)

getUnmodifiedTopic: Returns the topic which was unchanged in the operation that raised this exception.

getUnmodifiedTopic: Returns the topic which was unchanged in the operation that raised this exception.

  • access: public
object TopicInterface getUnmodifiedTopic ()

Inherited Methods

Inherited From MergeException

MergeException::__construct()

Inherited From TMAPIRuntimeException

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

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