]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/main/class_InvalidInterfaceException.php
Moved setter/getter from 'hub' code as also 'city' uses it.
[core.git] / inc / classes / exceptions / main / class_InvalidInterfaceException.php
index d524aa47292faa8f38e4c5715d4f52a19fe78569..bfb4cd037a6821acc49a58225c5264a8528c1d0b 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thrown when an class instance does not implement a given interface
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ class InvalidInterfaceException extends FrameworkException {
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Object does not implement expected interface <span class=\"exception_reason\">%s</span>.",
+               $message = sprintf('[%s:%d] Object does not implement expected interface %s.',
                        $classArray[0]->__toString(),
                        $this->getLine(),
                        $classArray[1]