Class ModelConstraintException

Description

This exception is used to report Topic Maps - Data Model (TMDM) (http://www.

This exception is used to report Topic Maps - Data Model (TMDM) (http://www.isotopicmaps.org/sam/sam-model/) constraint violations.

Located in /core/ModelConstraintException.class.php (line 23)

RuntimeException
   |
   --PHPTMAPIRuntimeException
      |
      --ModelConstraintException
Direct descendents
Class Description
TopicInUseException Thrown when an attempt is made to remove a Topic which is being used as a type, as a reifier, or as a role player in an association, or in a scope.
IdentityConstraintException This exception is used to report identity constraint violations.
Method Summary
void __construct (Construct $reporter, string $msg)
Methods
Constructor __construct (line 34)

Constructor.

Constructor.

  • access: public
void __construct (Construct $reporter, string $msg)
  • Construct $reporter: The construct which should have been modified.
  • string $msg: The error message.

Redefined in descendants as:
getReporter (line 44)

Returns the Construct which has thrown the exception.

Returns the Construct which has thrown the exception.

  • return: The construct which has thrown the exception.
  • access: public
Construct getReporter ()

Documentation generated on Sat, 15 Jan 2011 20:02:26 +0100 by phpDocumentor 1.4.1