Class TopicInUseException

Description

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.

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.

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

RuntimeException
   |
   --PHPTMAPIRuntimeException
      |
      --ModelConstraintException
         |
         --TopicInUseException
Method Summary
void __construct (Topic $topic, string $msg)
Variables

Inherited Variables

Inherited from ModelConstraintException

ModelConstraintException::$_reporter

Inherited from RuntimeException (Internal Class)

$code
$file
$line
$message
Methods
Constructor __construct (line 32)

Constructor.

Constructor.

  • access: public
void __construct (Topic $topic, string $msg)
  • Topic $topic: The topic which is not removable.
  • string $msg: The error message.

Redefinition of:
ModelConstraintException::__construct()
Constructor.

Inherited Methods

Inherited From ModelConstraintException

ModelConstraintException::__construct()
ModelConstraintException::getReporter()

Inherited From RuntimeException (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

Documentation generated on Mon, 19 Sep 2011 21:01:27 +0200 by phpDocumentor 1.4.0