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.
Variable Summary
Method Summary
void __construct (Construct $reporter, string $msg)
Variables
Construct $_reporter (line 30)

The Construct which has thrown the exception.

The Construct which has thrown the exception.

  • access: private
Methods
Constructor __construct (line 39)

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 50)

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 Mon, 19 Sep 2011 21:01:27 +0200 by phpDocumentor 1.4.0