Documentation is available at ModelConstraintException.exception.php
- <?PHP
- /**
- * @package org.phptmapi.core
- */
- require_once('TMAPIRuntimeException.exception.php');
- /**
- * public class ModelConstraintException: Exception thrown when an attempt is made to modify a TopicMapObjectInterface in a way which violates a constraint of the currently enabled processor model.
- *
- * @author Johannes Schmidt - t8d <kontakt@t8d.de>
- */
- class ModelConstraintException extends TMAPIRuntimeException{
- /**
- * Constructor
- * @param object TopicMapObjectInterface $modifiedObject
- * @param string $msg
- * @access public
- */
- public function __construct(TopicMapObjectInterface $modifiedObject, $msg){
- $this->obj = $modifiedObject;
- parent::__construct($msg);
- }
- /**
- * getModifiedObject: Returns the object that was tried to modify.
- * @access public
- * @return object TopicMapObjectInterface
- */
- public function getModifiedObject(){
- return $this->obj;
- }
- }
- ?>
Documentation generated on Fri, 30 Jun 2006 13:06:56 +0200 by phpDocumentor 1.3.0RC4